use crate::common::*;
use crate::AppKit::*;
use crate::Foundation::*;
use crate::WebKit::*;
extern_class!(
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "WebKit_DOMDocument")]
#[deprecated]
pub struct DOMDocument;
#[cfg(feature = "WebKit_DOMDocument")]
unsafe impl ClassType for DOMDocument {
#[inherits(DOMObject, WebScriptObject, NSObject)]
type Super = DOMNode;
type Mutability = InteriorMutable;
}
);
#[cfg(feature = "WebKit_DOMDocument")]
unsafe impl DOMEventTarget for DOMDocument {}
#[cfg(feature = "WebKit_DOMDocument")]
unsafe impl NSCopying for DOMDocument {}
#[cfg(feature = "WebKit_DOMDocument")]
unsafe impl NSObjectProtocol for DOMDocument {}
extern_methods!(
#[cfg(feature = "WebKit_DOMDocument")]
unsafe impl DOMDocument {
#[cfg(feature = "WebKit_DOMDocumentType")]
#[deprecated]
#[method_id(@__retain_semantics Other doctype)]
pub unsafe fn doctype(&self) -> Option<Id<DOMDocumentType>>;
#[cfg(feature = "WebKit_DOMImplementation")]
#[deprecated]
#[method_id(@__retain_semantics Other implementation)]
pub unsafe fn implementation(&self) -> Option<Id<DOMImplementation>>;
#[cfg(feature = "WebKit_DOMElement")]
#[deprecated]
#[method_id(@__retain_semantics Other documentElement)]
pub unsafe fn documentElement(&self) -> Option<Id<DOMElement>>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other inputEncoding)]
pub unsafe fn inputEncoding(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other xmlEncoding)]
pub unsafe fn xmlEncoding(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other xmlVersion)]
pub unsafe fn xmlVersion(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method(setXmlVersion:)]
pub unsafe fn setXmlVersion(&self, xml_version: Option<&NSString>);
#[method(xmlStandalone)]
pub unsafe fn xmlStandalone(&self) -> bool;
#[method(setXmlStandalone:)]
pub unsafe fn setXmlStandalone(&self, xml_standalone: bool);
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other documentURI)]
pub unsafe fn documentURI(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method(setDocumentURI:)]
pub unsafe fn setDocumentURI(&self, document_uri: Option<&NSString>);
#[cfg(feature = "WebKit_DOMAbstractView")]
#[deprecated]
#[method_id(@__retain_semantics Other defaultView)]
pub unsafe fn defaultView(&self) -> Option<Id<DOMAbstractView>>;
#[cfg(feature = "WebKit_DOMStyleSheetList")]
#[deprecated]
#[method_id(@__retain_semantics Other styleSheets)]
pub unsafe fn styleSheets(&self) -> Option<Id<DOMStyleSheetList>>;
#[cfg(feature = "Foundation_NSString")]
#[deprecated]
#[method_id(@__retain_semantics Other title)]
pub unsafe fn title(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[deprecated]
#[method(setTitle:)]
pub unsafe fn setTitle(&self, title: Option<&NSString>);
#[cfg(feature = "Foundation_NSString")]
#[deprecated]
#[method_id(@__retain_semantics Other referrer)]
pub unsafe fn referrer(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[deprecated]
#[method_id(@__retain_semantics Other domain)]
pub unsafe fn domain(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[deprecated]
#[method_id(@__retain_semantics Other URL)]
pub unsafe fn URL(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[deprecated]
#[method_id(@__retain_semantics Other cookie)]
pub unsafe fn cookie(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[deprecated]
#[method(setCookie:)]
pub unsafe fn setCookie(&self, cookie: Option<&NSString>);
#[cfg(feature = "WebKit_DOMHTMLElement")]
#[deprecated]
#[method_id(@__retain_semantics Other body)]
pub unsafe fn body(&self) -> Option<Id<DOMHTMLElement>>;
#[cfg(feature = "WebKit_DOMHTMLElement")]
#[deprecated]
#[method(setBody:)]
pub unsafe fn setBody(&self, body: Option<&DOMHTMLElement>);
#[cfg(feature = "WebKit_DOMHTMLCollection")]
#[deprecated]
#[method_id(@__retain_semantics Other images)]
pub unsafe fn images(&self) -> Option<Id<DOMHTMLCollection>>;
#[cfg(feature = "WebKit_DOMHTMLCollection")]
#[deprecated]
#[method_id(@__retain_semantics Other applets)]
pub unsafe fn applets(&self) -> Option<Id<DOMHTMLCollection>>;
#[cfg(feature = "WebKit_DOMHTMLCollection")]
#[deprecated]
#[method_id(@__retain_semantics Other links)]
pub unsafe fn links(&self) -> Option<Id<DOMHTMLCollection>>;
#[cfg(feature = "WebKit_DOMHTMLCollection")]
#[deprecated]
#[method_id(@__retain_semantics Other forms)]
pub unsafe fn forms(&self) -> Option<Id<DOMHTMLCollection>>;
#[cfg(feature = "WebKit_DOMHTMLCollection")]
#[deprecated]
#[method_id(@__retain_semantics Other anchors)]
pub unsafe fn anchors(&self) -> Option<Id<DOMHTMLCollection>>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other lastModified)]
pub unsafe fn lastModified(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other charset)]
pub unsafe fn charset(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method(setCharset:)]
pub unsafe fn setCharset(&self, charset: Option<&NSString>);
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other defaultCharset)]
pub unsafe fn defaultCharset(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other readyState)]
pub unsafe fn readyState(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other characterSet)]
pub unsafe fn characterSet(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other preferredStylesheetSet)]
pub unsafe fn preferredStylesheetSet(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other selectedStylesheetSet)]
pub unsafe fn selectedStylesheetSet(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method(setSelectedStylesheetSet:)]
pub unsafe fn setSelectedStylesheetSet(&self, selected_stylesheet_set: Option<&NSString>);
#[cfg(feature = "WebKit_DOMElement")]
#[method_id(@__retain_semantics Other activeElement)]
pub unsafe fn activeElement(&self) -> Option<Id<DOMElement>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMElement"))]
#[deprecated]
#[method_id(@__retain_semantics Other createElement:)]
pub unsafe fn createElement(&self, tag_name: Option<&NSString>) -> Option<Id<DOMElement>>;
#[cfg(feature = "WebKit_DOMDocumentFragment")]
#[deprecated]
#[method_id(@__retain_semantics Other createDocumentFragment)]
pub unsafe fn createDocumentFragment(&self) -> Option<Id<DOMDocumentFragment>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMText"))]
#[deprecated]
#[method_id(@__retain_semantics Other createTextNode:)]
pub unsafe fn createTextNode(&self, data: Option<&NSString>) -> Option<Id<DOMText>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMComment"))]
#[deprecated]
#[method_id(@__retain_semantics Other createComment:)]
pub unsafe fn createComment(&self, data: Option<&NSString>) -> Option<Id<DOMComment>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMCDATASection"))]
#[deprecated]
#[method_id(@__retain_semantics Other createCDATASection:)]
pub unsafe fn createCDATASection(
&self,
data: Option<&NSString>,
) -> Option<Id<DOMCDATASection>>;
#[cfg(all(
feature = "Foundation_NSString",
feature = "WebKit_DOMProcessingInstruction"
))]
#[method_id(@__retain_semantics Other createProcessingInstruction:data:)]
pub unsafe fn createProcessingInstruction_data(
&self,
target: Option<&NSString>,
data: Option<&NSString>,
) -> Option<Id<DOMProcessingInstruction>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMAttr"))]
#[deprecated]
#[method_id(@__retain_semantics Other createAttribute:)]
pub unsafe fn createAttribute(&self, name: Option<&NSString>) -> Option<Id<DOMAttr>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMEntityReference"))]
#[deprecated]
#[method_id(@__retain_semantics Other createEntityReference:)]
pub unsafe fn createEntityReference(
&self,
name: Option<&NSString>,
) -> Option<Id<DOMEntityReference>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMNodeList"))]
#[deprecated]
#[method_id(@__retain_semantics Other getElementsByTagName:)]
pub unsafe fn getElementsByTagName(
&self,
tagname: Option<&NSString>,
) -> Option<Id<DOMNodeList>>;
#[method_id(@__retain_semantics Other importNode:deep:)]
pub unsafe fn importNode_deep(
&self,
imported_node: Option<&DOMNode>,
deep: bool,
) -> Option<Id<DOMNode>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMElement"))]
#[method_id(@__retain_semantics Other createElementNS:qualifiedName:)]
pub unsafe fn createElementNS_qualifiedName(
&self,
namespace_uri: Option<&NSString>,
qualified_name: Option<&NSString>,
) -> Option<Id<DOMElement>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMAttr"))]
#[method_id(@__retain_semantics Other createAttributeNS:qualifiedName:)]
pub unsafe fn createAttributeNS_qualifiedName(
&self,
namespace_uri: Option<&NSString>,
qualified_name: Option<&NSString>,
) -> Option<Id<DOMAttr>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMNodeList"))]
#[method_id(@__retain_semantics Other getElementsByTagNameNS:localName:)]
pub unsafe fn getElementsByTagNameNS_localName(
&self,
namespace_uri: Option<&NSString>,
local_name: Option<&NSString>,
) -> Option<Id<DOMNodeList>>;
#[method_id(@__retain_semantics Other adoptNode:)]
pub unsafe fn adoptNode(&self, source: Option<&DOMNode>) -> Option<Id<DOMNode>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMEvent"))]
#[deprecated]
#[method_id(@__retain_semantics Other createEvent:)]
pub unsafe fn createEvent(&self, event_type: Option<&NSString>) -> Option<Id<DOMEvent>>;
#[cfg(feature = "WebKit_DOMRange")]
#[deprecated]
#[method_id(@__retain_semantics Other createRange)]
pub unsafe fn createRange(&self) -> Option<Id<DOMRange>>;
#[cfg(feature = "WebKit_DOMNodeIterator")]
#[method_id(@__retain_semantics Other createNodeIterator:whatToShow:filter:expandEntityReferences:)]
pub unsafe fn createNodeIterator_whatToShow_filter_expandEntityReferences(
&self,
root: Option<&DOMNode>,
what_to_show: c_uint,
filter: Option<&ProtocolObject<dyn DOMNodeFilter>>,
expand_entity_references: bool,
) -> Option<Id<DOMNodeIterator>>;
#[cfg(feature = "WebKit_DOMTreeWalker")]
#[method_id(@__retain_semantics Other createTreeWalker:whatToShow:filter:expandEntityReferences:)]
pub unsafe fn createTreeWalker_whatToShow_filter_expandEntityReferences(
&self,
root: Option<&DOMNode>,
what_to_show: c_uint,
filter: Option<&ProtocolObject<dyn DOMNodeFilter>>,
expand_entity_references: bool,
) -> Option<Id<DOMTreeWalker>>;
#[cfg(all(
feature = "Foundation_NSString",
feature = "WebKit_DOMCSSStyleDeclaration",
feature = "WebKit_DOMElement"
))]
#[method_id(@__retain_semantics Other getOverrideStyle:pseudoElement:)]
pub unsafe fn getOverrideStyle_pseudoElement(
&self,
element: Option<&DOMElement>,
pseudo_element: Option<&NSString>,
) -> Option<Id<DOMCSSStyleDeclaration>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMXPathExpression"))]
#[method_id(@__retain_semantics Other createExpression:resolver:)]
pub unsafe fn createExpression_resolver(
&self,
expression: Option<&NSString>,
resolver: Option<&ProtocolObject<dyn DOMXPathNSResolver>>,
) -> Option<Id<DOMXPathExpression>>;
#[method_id(@__retain_semantics Other createNSResolver:)]
pub unsafe fn createNSResolver(
&self,
node_resolver: Option<&DOMNode>,
) -> Option<Id<ProtocolObject<dyn DOMXPathNSResolver>>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMXPathResult"))]
#[method_id(@__retain_semantics Other evaluate:contextNode:resolver:type:inResult:)]
pub unsafe fn evaluate_contextNode_resolver_type_inResult(
&self,
expression: Option<&NSString>,
context_node: Option<&DOMNode>,
resolver: Option<&ProtocolObject<dyn DOMXPathNSResolver>>,
r#type: c_ushort,
in_result: Option<&DOMXPathResult>,
) -> Option<Id<DOMXPathResult>>;
#[cfg(feature = "Foundation_NSString")]
#[method(execCommand:userInterface:value:)]
pub unsafe fn execCommand_userInterface_value(
&self,
command: Option<&NSString>,
user_interface: bool,
value: Option<&NSString>,
) -> bool;
#[cfg(feature = "Foundation_NSString")]
#[method(execCommand:userInterface:)]
pub unsafe fn execCommand_userInterface(
&self,
command: Option<&NSString>,
user_interface: bool,
) -> bool;
#[cfg(feature = "Foundation_NSString")]
#[method(execCommand:)]
pub unsafe fn execCommand(&self, command: Option<&NSString>) -> bool;
#[cfg(feature = "Foundation_NSString")]
#[method(queryCommandEnabled:)]
pub unsafe fn queryCommandEnabled(&self, command: Option<&NSString>) -> bool;
#[cfg(feature = "Foundation_NSString")]
#[method(queryCommandIndeterm:)]
pub unsafe fn queryCommandIndeterm(&self, command: Option<&NSString>) -> bool;
#[cfg(feature = "Foundation_NSString")]
#[method(queryCommandState:)]
pub unsafe fn queryCommandState(&self, command: Option<&NSString>) -> bool;
#[cfg(feature = "Foundation_NSString")]
#[method(queryCommandSupported:)]
pub unsafe fn queryCommandSupported(&self, command: Option<&NSString>) -> bool;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other queryCommandValue:)]
pub unsafe fn queryCommandValue(&self, command: Option<&NSString>) -> Option<Id<NSString>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMNodeList"))]
#[deprecated]
#[method_id(@__retain_semantics Other getElementsByName:)]
pub unsafe fn getElementsByName(
&self,
element_name: Option<&NSString>,
) -> Option<Id<DOMNodeList>>;
#[cfg(feature = "WebKit_DOMElement")]
#[method_id(@__retain_semantics Other elementFromPoint:y:)]
pub unsafe fn elementFromPoint_y(&self, x: c_int, y: c_int) -> Option<Id<DOMElement>>;
#[cfg(feature = "WebKit_DOMCSSStyleDeclaration")]
#[method_id(@__retain_semantics Other createCSSStyleDeclaration)]
pub unsafe fn createCSSStyleDeclaration(&self) -> Option<Id<DOMCSSStyleDeclaration>>;
#[cfg(all(
feature = "Foundation_NSString",
feature = "WebKit_DOMCSSStyleDeclaration",
feature = "WebKit_DOMElement"
))]
#[method_id(@__retain_semantics Other getComputedStyle:pseudoElement:)]
pub unsafe fn getComputedStyle_pseudoElement(
&self,
element: Option<&DOMElement>,
pseudo_element: Option<&NSString>,
) -> Option<Id<DOMCSSStyleDeclaration>>;
#[cfg(all(
feature = "Foundation_NSString",
feature = "WebKit_DOMCSSRuleList",
feature = "WebKit_DOMElement"
))]
#[method_id(@__retain_semantics Other getMatchedCSSRules:pseudoElement:)]
pub unsafe fn getMatchedCSSRules_pseudoElement(
&self,
element: Option<&DOMElement>,
pseudo_element: Option<&NSString>,
) -> Option<Id<DOMCSSRuleList>>;
#[cfg(all(
feature = "Foundation_NSString",
feature = "WebKit_DOMCSSRuleList",
feature = "WebKit_DOMElement"
))]
#[method_id(@__retain_semantics Other getMatchedCSSRules:pseudoElement:authorOnly:)]
pub unsafe fn getMatchedCSSRules_pseudoElement_authorOnly(
&self,
element: Option<&DOMElement>,
pseudo_element: Option<&NSString>,
author_only: bool,
) -> Option<Id<DOMCSSRuleList>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMNodeList"))]
#[method_id(@__retain_semantics Other getElementsByClassName:)]
pub unsafe fn getElementsByClassName(
&self,
class_names: Option<&NSString>,
) -> Option<Id<DOMNodeList>>;
#[method(hasFocus)]
pub unsafe fn hasFocus(&self) -> bool;
#[method(webkitCancelFullScreen)]
pub unsafe fn webkitCancelFullScreen(&self);
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMElement"))]
#[deprecated]
#[method_id(@__retain_semantics Other getElementById:)]
pub unsafe fn getElementById(
&self,
element_id: Option<&NSString>,
) -> Option<Id<DOMElement>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMElement"))]
#[method_id(@__retain_semantics Other querySelector:)]
pub unsafe fn querySelector(&self, selectors: Option<&NSString>) -> Option<Id<DOMElement>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMNodeList"))]
#[method_id(@__retain_semantics Other querySelectorAll:)]
pub unsafe fn querySelectorAll(
&self,
selectors: Option<&NSString>,
) -> Option<Id<DOMNodeList>>;
}
);
extern_methods!(
#[cfg(feature = "WebKit_DOMDocument")]
unsafe impl DOMDocument {
#[deprecated]
#[method_id(@__retain_semantics Init init)]
pub unsafe fn init(this: Allocated<Self>) -> Id<Self>;
}
);
extern_methods!(
#[cfg(feature = "WebKit_DOMDocument")]
unsafe impl DOMDocument {
#[method_id(@__retain_semantics New new)]
pub unsafe fn new() -> Id<Self>;
}
);
extern_methods!(
#[cfg(feature = "WebKit_DOMDocument")]
unsafe impl DOMDocument {
#[cfg(all(
feature = "Foundation_NSString",
feature = "WebKit_DOMProcessingInstruction"
))]
#[deprecated]
#[method_id(@__retain_semantics Other createProcessingInstruction::)]
pub unsafe fn createProcessingInstruction(
&self,
target: Option<&NSString>,
data: Option<&NSString>,
) -> Option<Id<DOMProcessingInstruction>>;
#[cfg(feature = "WebKit_DOMNode")]
#[deprecated]
#[method_id(@__retain_semantics Other importNode::)]
pub unsafe fn importNode(
&self,
imported_node: Option<&DOMNode>,
deep: bool,
) -> Option<Id<DOMNode>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMElement"))]
#[deprecated]
#[method_id(@__retain_semantics Other createElementNS::)]
pub unsafe fn createElementNS(
&self,
namespace_uri: Option<&NSString>,
qualified_name: Option<&NSString>,
) -> Option<Id<DOMElement>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMAttr"))]
#[deprecated]
#[method_id(@__retain_semantics Other createAttributeNS::)]
pub unsafe fn createAttributeNS(
&self,
namespace_uri: Option<&NSString>,
qualified_name: Option<&NSString>,
) -> Option<Id<DOMAttr>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMNodeList"))]
#[deprecated]
#[method_id(@__retain_semantics Other getElementsByTagNameNS::)]
pub unsafe fn getElementsByTagNameNS(
&self,
namespace_uri: Option<&NSString>,
local_name: Option<&NSString>,
) -> Option<Id<DOMNodeList>>;
#[cfg(all(feature = "WebKit_DOMNode", feature = "WebKit_DOMNodeIterator"))]
#[deprecated]
#[method_id(@__retain_semantics Other createNodeIterator::::)]
pub unsafe fn createNodeIterator(
&self,
root: Option<&DOMNode>,
what_to_show: c_uint,
filter: Option<&ProtocolObject<dyn DOMNodeFilter>>,
expand_entity_references: bool,
) -> Option<Id<DOMNodeIterator>>;
#[cfg(all(feature = "WebKit_DOMNode", feature = "WebKit_DOMTreeWalker"))]
#[deprecated]
#[method_id(@__retain_semantics Other createTreeWalker::::)]
pub unsafe fn createTreeWalker(
&self,
root: Option<&DOMNode>,
what_to_show: c_uint,
filter: Option<&ProtocolObject<dyn DOMNodeFilter>>,
expand_entity_references: bool,
) -> Option<Id<DOMTreeWalker>>;
#[cfg(all(
feature = "Foundation_NSString",
feature = "WebKit_DOMCSSStyleDeclaration",
feature = "WebKit_DOMElement"
))]
#[deprecated]
#[method_id(@__retain_semantics Other getOverrideStyle::)]
pub unsafe fn getOverrideStyle(
&self,
element: Option<&DOMElement>,
pseudo_element: Option<&NSString>,
) -> Option<Id<DOMCSSStyleDeclaration>>;
#[cfg(all(feature = "Foundation_NSString", feature = "WebKit_DOMXPathExpression"))]
#[deprecated]
#[method_id(@__retain_semantics Other createExpression::)]
pub unsafe fn createExpression(
&self,
expression: Option<&NSString>,
resolver: Option<&ProtocolObject<dyn DOMXPathNSResolver>>,
) -> Option<Id<DOMXPathExpression>>;
#[cfg(all(
feature = "Foundation_NSString",
feature = "WebKit_DOMNode",
feature = "WebKit_DOMXPathResult"
))]
#[deprecated]
#[method_id(@__retain_semantics Other evaluate:::::)]
pub unsafe fn evaluate(
&self,
expression: Option<&NSString>,
context_node: Option<&DOMNode>,
resolver: Option<&ProtocolObject<dyn DOMXPathNSResolver>>,
r#type: c_ushort,
in_result: Option<&DOMXPathResult>,
) -> Option<Id<DOMXPathResult>>;
#[cfg(all(
feature = "Foundation_NSString",
feature = "WebKit_DOMCSSStyleDeclaration",
feature = "WebKit_DOMElement"
))]
#[deprecated]
#[method_id(@__retain_semantics Other getComputedStyle::)]
pub unsafe fn getComputedStyle(
&self,
element: Option<&DOMElement>,
pseudo_element: Option<&NSString>,
) -> Option<Id<DOMCSSStyleDeclaration>>;
}
);