mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 17:31:47 +09:00
parent
d3c2a6b6b5
commit
6b075994f5
9 changed files with 81 additions and 9 deletions
|
|
@ -26,6 +26,12 @@
|
|||
class nsIDocument;
|
||||
class nsIDOMText;
|
||||
|
||||
namespace mozilla {
|
||||
namespace dom {
|
||||
class HTMLSlotElement;
|
||||
} // namespace dom
|
||||
} // namespace mozilla
|
||||
|
||||
#define DATA_NODE_FLAG_BIT(n_) NODE_FLAG_BIT(NODE_TYPE_SPECIFIC_BITS_OFFSET + (n_))
|
||||
|
||||
// Data node specific flags
|
||||
|
|
@ -157,6 +163,8 @@ public:
|
|||
virtual nsTArray<nsIContent*> &DestInsertionPoints() override;
|
||||
virtual nsTArray<nsIContent*> *GetExistingDestInsertionPoints() const override;
|
||||
virtual void SetShadowRoot(mozilla::dom::ShadowRoot* aShadowRoot) override;
|
||||
virtual mozilla::dom::HTMLSlotElement* GetAssignedSlot() const override;
|
||||
virtual void SetAssignedSlot(mozilla::dom::HTMLSlotElement* aSlot) override;
|
||||
virtual nsIContent *GetXBLInsertionParent() const override;
|
||||
virtual void SetXBLInsertionParent(nsIContent* aContent) override;
|
||||
virtual bool IsNodeOfType(uint32_t aFlags) const override;
|
||||
|
|
@ -264,6 +272,11 @@ protected:
|
|||
* @see nsIContent::GetDestInsertionPoints
|
||||
*/
|
||||
nsTArray<nsIContent*> mDestInsertionPoints;
|
||||
|
||||
/**
|
||||
* @see nsIContent::GetAssignedSlot
|
||||
*/
|
||||
RefPtr<mozilla::dom::HTMLSlotElement> mAssignedSlot;
|
||||
};
|
||||
|
||||
// Override from nsINode
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue