mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
Bug 1422197 - Add fast path to get DocGroup in binding code for [CEReactions]
Tag #1375
This commit is contained in:
parent
fc8fcfc039
commit
ca09afd0b0
30 changed files with 206 additions and 44 deletions
|
|
@ -72,6 +72,7 @@ inline bool IsSpaceCharacter(char aChar) {
|
|||
class AccessibleNode;
|
||||
struct BoxQuadOptions;
|
||||
struct ConvertCoordinateOptions;
|
||||
class DocGroup;
|
||||
class DOMPoint;
|
||||
class DOMQuad;
|
||||
class DOMRectReadOnly;
|
||||
|
|
@ -299,6 +300,7 @@ class nsINode : public mozilla::dom::EventTarget
|
|||
public:
|
||||
typedef mozilla::dom::BoxQuadOptions BoxQuadOptions;
|
||||
typedef mozilla::dom::ConvertCoordinateOptions ConvertCoordinateOptions;
|
||||
typedef mozilla::dom::DocGroup DocGroup;
|
||||
typedef mozilla::dom::DOMPoint DOMPoint;
|
||||
typedef mozilla::dom::DOMPointInit DOMPointInit;
|
||||
typedef mozilla::dom::DOMQuad DOMQuad;
|
||||
|
|
@ -613,6 +615,11 @@ public:
|
|||
return mNodeInfo->NamespaceID() == aNamespace;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the DocGroup of the "node document" of this node.
|
||||
*/
|
||||
DocGroup* GetDocGroup() const;
|
||||
|
||||
/**
|
||||
* Print a debugger friendly descriptor of this element. This will describe
|
||||
* the position of this element in the document.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue