mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1432186 part 18. Remove no-longer-needed nsIDOMNode-forwarding defines. r=mccr8
MozReview-Commit-ID: FbP5fVQ3c6m
This commit is contained in:
parent
4d88c28e4d
commit
b6b8acada6
@ -41,8 +41,7 @@ public:
|
||||
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
||||
// nsIDOMNode interface
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
// nsINode interface
|
||||
virtual void GetTextContentInternal(nsAString& aTextContent,
|
||||
OOMReporter& aError) override;
|
||||
virtual void SetTextContentInternal(const nsAString& aTextContent,
|
||||
|
@ -42,9 +42,6 @@ public:
|
||||
// nsISupports
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
||||
// nsIDOMNode
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
|
||||
// nsIDOMCharacterData
|
||||
NS_FORWARD_NSIDOMCHARACTERDATA(nsGenericDOMDataNode::)
|
||||
using nsGenericDOMDataNode::SetData; // Prevent hiding overloaded virtual function.
|
||||
|
@ -45,9 +45,6 @@ public:
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
NS_DECL_CYCLE_COLLECTION_CLASS_INHERITED(DocumentFragment, FragmentOrElement)
|
||||
|
||||
// interface nsIDOMNode
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
|
||||
// interface nsIDOMDocumentFragment
|
||||
NS_DECL_NSIDOMDOCUMENTFRAGMENT
|
||||
|
||||
|
@ -34,9 +34,6 @@ public:
|
||||
: nsGenericDOMDataNode(aNodeInfo)
|
||||
{
|
||||
}
|
||||
|
||||
// nsIDOMNode
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
};
|
||||
|
||||
class DocumentType final : public DocumentTypeForward
|
||||
|
@ -641,9 +641,6 @@ private:
|
||||
void SendToConsole(nsCOMArray<nsISecurityConsoleMessage>& aMessages);
|
||||
|
||||
public:
|
||||
// nsIDOMNode
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE_OVERRIDABLE
|
||||
|
||||
// nsIDOMDocument
|
||||
NS_DECL_NSIDOMDOCUMENT
|
||||
|
||||
|
@ -2258,8 +2258,4 @@ ToCanonicalSupports(nsINode* aPointer)
|
||||
return aPointer;
|
||||
}
|
||||
|
||||
#define NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
|
||||
#define NS_FORWARD_NSIDOMNODE_TO_NSINODE_OVERRIDABLE
|
||||
|
||||
#endif /* nsINode_h___ */
|
||||
|
@ -47,10 +47,6 @@ public:
|
||||
// nsISupports
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
||||
// nsIDOMNode
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
using mozilla::dom::Text::GetParentElement;
|
||||
|
||||
// nsIDOMCharacterData
|
||||
NS_FORWARD_NSIDOMCHARACTERDATA(nsGenericDOMDataNode::)
|
||||
using nsGenericDOMDataNode::SetData; // Prevent hiding overloaded virtual function.
|
||||
|
@ -270,8 +270,6 @@ public:
|
||||
nsSize GetWidthHeightForImage(RefPtr<imgRequestProxy>& aImageRequest);
|
||||
|
||||
// XPIDL methods
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
|
||||
NS_FORWARD_NSIDOMELEMENT_TO_GENERIC
|
||||
|
||||
NS_IMETHOD GetSpellcheck(bool* aSpellcheck) final override {
|
||||
|
@ -94,9 +94,6 @@ public:
|
||||
using nsDocument::GetLastStyleSheetSet;
|
||||
using nsDocument::MozSetImageElement;
|
||||
|
||||
// nsIDOMNode interface
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
|
||||
// nsIDOMHTMLDocument interface
|
||||
NS_DECL_NSIDOMHTMLDOCUMENT
|
||||
|
||||
|
@ -39,7 +39,6 @@ public:
|
||||
|
||||
// Forward implementations of parent interfaces of nsMathMLElement to
|
||||
// our base class
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
NS_FORWARD_NSIDOMELEMENT_TO_GENERIC
|
||||
|
||||
nsresult BindToTree(nsIDocument* aDocument, nsIContent* aParent,
|
||||
|
@ -134,7 +134,6 @@ public:
|
||||
static const MappedAttributeEntry sLightingEffectsMap[];
|
||||
static const MappedAttributeEntry sMaskMap[];
|
||||
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
NS_FORWARD_NSIDOMELEMENT_TO_GENERIC
|
||||
NS_DECL_NSIDOMSVGELEMENT
|
||||
|
||||
|
@ -43,9 +43,6 @@ public:
|
||||
// nsISupports
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
||||
// nsIDOMNode
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
|
||||
// nsIDOMCharacterData
|
||||
NS_FORWARD_NSIDOMCHARACTERDATA(nsGenericDOMDataNode::)
|
||||
using nsGenericDOMDataNode::SetData; // Prevent hiding overloaded virtual function.
|
||||
|
@ -25,9 +25,6 @@ public:
|
||||
// nsISupports
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
||||
// nsIDOMNode
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
|
||||
// nsIDOMCharacterData
|
||||
NS_FORWARD_NSIDOMCHARACTERDATA(nsGenericDOMDataNode::)
|
||||
using nsGenericDOMDataNode::SetData; // Prevent hiding overloaded virtual function.
|
||||
|
@ -24,9 +24,6 @@ public:
|
||||
// nsISupports
|
||||
NS_DECL_ISUPPORTS_INHERITED
|
||||
|
||||
// nsIDOMNode
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
|
||||
// nsIDOMElement
|
||||
NS_FORWARD_NSIDOMELEMENT_TO_GENERIC
|
||||
|
||||
|
@ -100,9 +100,6 @@ public:
|
||||
virtual nsresult Clone(mozilla::dom::NodeInfo *aNodeInfo, nsINode **aResult,
|
||||
bool aPreallocateChildren) const override;
|
||||
|
||||
// nsIDOMNode interface
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
|
||||
// nsIDOMDocument interface
|
||||
using nsDocument::CreateElement;
|
||||
using nsDocument::CreateElementNS;
|
||||
|
@ -394,12 +394,6 @@ public:
|
||||
int32_t aModType) const override;
|
||||
NS_IMETHOD_(bool) IsAttributeMapped(const nsAtom* aAttribute) const override;
|
||||
|
||||
// nsIDOMNode
|
||||
NS_FORWARD_NSIDOMNODE_TO_NSINODE
|
||||
// And since that shadowed GetParentElement with the XPCOM
|
||||
// signature, pull in the one we care about.
|
||||
using nsStyledElement::GetParentElement;
|
||||
|
||||
// nsIDOMElement
|
||||
NS_FORWARD_NSIDOMELEMENT_TO_GENERIC
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user