use core::ffi::*;
use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use objc2_foundation::*;
use crate::*;
extern_class!(
#[unsafe(super(
DOMHTMLElement,
DOMElement,
DOMNode,
DOMObject,
WebScriptObject,
NSObject
))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
#[deprecated]
pub struct DOMHTMLFrameElement;
);
#[cfg(all(
feature = "DOMElement",
feature = "DOMEventTarget",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl DOMEventTarget for DOMHTMLFrameElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSCopying for DOMHTMLFrameElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl CopyingHelper for DOMHTMLFrameElement {
type Result = Self;
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
unsafe impl NSObjectProtocol for DOMHTMLFrameElement {}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLFrameElement {
extern_methods!(
#[deprecated]
#[unsafe(method(frameBorder))]
#[unsafe(method_family = none)]
pub unsafe fn frameBorder(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setFrameBorder:))]
#[unsafe(method_family = none)]
pub unsafe fn setFrameBorder(&self, frame_border: Option<&NSString>);
#[deprecated]
#[unsafe(method(longDesc))]
#[unsafe(method_family = none)]
pub unsafe fn longDesc(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setLongDesc:))]
#[unsafe(method_family = none)]
pub unsafe fn setLongDesc(&self, long_desc: Option<&NSString>);
#[deprecated]
#[unsafe(method(marginHeight))]
#[unsafe(method_family = none)]
pub unsafe fn marginHeight(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setMarginHeight:))]
#[unsafe(method_family = none)]
pub unsafe fn setMarginHeight(&self, margin_height: Option<&NSString>);
#[deprecated]
#[unsafe(method(marginWidth))]
#[unsafe(method_family = none)]
pub unsafe fn marginWidth(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setMarginWidth:))]
#[unsafe(method_family = none)]
pub unsafe fn setMarginWidth(&self, margin_width: Option<&NSString>);
#[deprecated]
#[unsafe(method(name))]
#[unsafe(method_family = none)]
pub unsafe fn name(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setName:))]
#[unsafe(method_family = none)]
pub unsafe fn setName(&self, name: Option<&NSString>);
#[deprecated]
#[unsafe(method(noResize))]
#[unsafe(method_family = none)]
pub unsafe fn noResize(&self) -> bool;
#[deprecated]
#[unsafe(method(setNoResize:))]
#[unsafe(method_family = none)]
pub unsafe fn setNoResize(&self, no_resize: bool);
#[deprecated]
#[unsafe(method(scrolling))]
#[unsafe(method_family = none)]
pub unsafe fn scrolling(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setScrolling:))]
#[unsafe(method_family = none)]
pub unsafe fn setScrolling(&self, scrolling: Option<&NSString>);
#[deprecated]
#[unsafe(method(src))]
#[unsafe(method_family = none)]
pub unsafe fn src(&self) -> Retained<NSString>;
#[deprecated]
#[unsafe(method(setSrc:))]
#[unsafe(method_family = none)]
pub unsafe fn setSrc(&self, src: Option<&NSString>);
#[cfg(feature = "DOMDocument")]
#[deprecated]
#[unsafe(method(contentDocument))]
#[unsafe(method_family = none)]
pub unsafe fn contentDocument(&self) -> Option<Retained<DOMDocument>>;
#[cfg(feature = "DOMAbstractView")]
#[unsafe(method(contentWindow))]
#[unsafe(method_family = none)]
pub unsafe fn contentWindow(&self) -> Option<Retained<DOMAbstractView>>;
#[unsafe(method(location))]
#[unsafe(method_family = none)]
pub unsafe fn location(&self) -> Retained<NSString>;
#[unsafe(method(setLocation:))]
#[unsafe(method_family = none)]
pub unsafe fn setLocation(&self, location: Option<&NSString>);
#[unsafe(method(width))]
#[unsafe(method_family = none)]
pub unsafe fn width(&self) -> c_int;
#[unsafe(method(height))]
#[unsafe(method_family = none)]
pub unsafe fn height(&self) -> c_int;
);
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLFrameElement {
extern_methods!(
#[deprecated]
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}
#[cfg(all(
feature = "DOMElement",
feature = "DOMHTMLElement",
feature = "DOMNode",
feature = "DOMObject",
feature = "WebScriptObject"
))]
impl DOMHTMLFrameElement {
extern_methods!(
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
);
}