зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1404789: Privatize ShadowRoot methods. r=bz
MozReview-Commit-ID: DOSn9B0NRwZ --HG-- extra : rebase_source : c9cd8bde0a435c1235f6ddaf49adb713e84b79e0
This commit is contained in:
Родитель
67ccc345f4
Коммит
317ab8e505
|
@ -53,6 +53,13 @@ public:
|
|||
void SetApplyAuthorStyles(bool aApplyAuthorStyles);
|
||||
StyleSheetList* StyleSheets();
|
||||
|
||||
/**
|
||||
* Distributes all the explicit children of the pool host to the content
|
||||
* insertion points in this ShadowRoot.
|
||||
*/
|
||||
void DistributeAllNodes();
|
||||
|
||||
private:
|
||||
/**
|
||||
* Distributes a single explicit child of the pool host to the content
|
||||
* insertion points in this ShadowRoot.
|
||||
|
@ -65,12 +72,10 @@ public:
|
|||
*/
|
||||
void RemoveDistributedNode(nsIContent* aContent);
|
||||
|
||||
/**
|
||||
* Distributes all the explicit children of the pool host to the content
|
||||
* insertion points in this ShadowRoot.
|
||||
*/
|
||||
void DistributeAllNodes();
|
||||
static bool IsPooledNode(nsIContent* aChild, nsIContent* aContainer,
|
||||
nsIContent* aHost);
|
||||
|
||||
public:
|
||||
void AddInsertionPoint(HTMLContentElement* aInsertionPoint);
|
||||
void RemoveInsertionPoint(HTMLContentElement* aInsertionPoint);
|
||||
|
||||
|
@ -80,8 +85,6 @@ public:
|
|||
|
||||
JSObject* WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
|
||||
|
||||
static bool IsPooledNode(nsIContent* aChild, nsIContent* aContainer,
|
||||
nsIContent* aHost);
|
||||
static ShadowRoot* FromNode(nsINode* aNode);
|
||||
|
||||
static void RemoveDestInsertionPoint(nsIContent* aInsertionPoint,
|
||||
|
|
Загрузка…
Ссылка в новой задаче