Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: sky/engine/core/dom/shadow/ShadowRoot.h

Issue 704413007: Remove HTMLShadowElement. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/dom/shadow/InsertionPoint.cpp ('k') | sky/engine/core/dom/shadow/ShadowRoot.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/shadow/ShadowRoot.h
diff --git a/sky/engine/core/dom/shadow/ShadowRoot.h b/sky/engine/core/dom/shadow/ShadowRoot.h
index ef3185b10f77f45d8e3c0357bce4bf839dc6a53f..162603470eb1932ab24079b041cbf8273dabd272 100644
--- a/sky/engine/core/dom/shadow/ShadowRoot.h
+++ b/sky/engine/core/dom/shadow/ShadowRoot.h
@@ -38,7 +38,6 @@ namespace blink {
class Document;
class ElementShadow;
class ExceptionState;
-class HTMLShadowElement;
class InsertionPoint;
class ShadowRootRareData;
class StyleSheetList;
@@ -74,20 +73,14 @@ public:
void registerScopedHTMLStyleChild();
void unregisterScopedHTMLStyleChild();
- bool containsShadowElements() const;
bool containsContentElements() const;
- bool containsInsertionPoints() const { return containsShadowElements() || containsContentElements(); }
+ bool containsInsertionPoints() const { return containsContentElements(); }
bool containsShadowRoots() const;
- unsigned descendantShadowElementCount() const;
-
// For Internals, don't use this.
unsigned childShadowRootCount() const;
unsigned numberOfStyles() const { return m_numberOfStyles; }
- HTMLShadowElement* shadowInsertionPointOfYoungerShadowRoot() const;
- void setShadowInsertionPointOfYoungerShadowRoot(PassRefPtr<HTMLShadowElement>);
-
void didAddInsertionPoint(InsertionPoint*);
void didRemoveInsertionPoint(InsertionPoint*);
const Vector<RefPtr<InsertionPoint> >& descendantInsertionPoints();
@@ -116,8 +109,6 @@ private:
virtual void dispose() override;
#endif
- virtual void childrenChanged(const ChildrenChange&) override;
-
ShadowRootRareData* ensureShadowRootRareData();
void addChildShadowRoot();
« no previous file with comments | « sky/engine/core/dom/shadow/InsertionPoint.cpp ('k') | sky/engine/core/dom/shadow/ShadowRoot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698