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

Unified Diff: Source/core/dom/shadow/ShadowRoot.h

Issue 214693002: Remove most of scoped styles. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Really remove it Created 6 years, 9 months 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 | « Source/core/dom/StyleSheetScopingNodeList.cpp ('k') | Source/core/html/HTMLStyleElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/shadow/ShadowRoot.h
diff --git a/Source/core/dom/shadow/ShadowRoot.h b/Source/core/dom/shadow/ShadowRoot.h
index 4f69957b531c10a437b86db12fc685de6a5ab5df..ef8cc55bbda0013c9b09ed31cf1824be84620300 100644
--- a/Source/core/dom/shadow/ShadowRoot.h
+++ b/Source/core/dom/shadow/ShadowRoot.h
@@ -81,8 +81,8 @@ public:
virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
virtual void removedFrom(ContainerNode*) OVERRIDE;
- virtual void registerScopedHTMLStyleChild() OVERRIDE;
- virtual void unregisterScopedHTMLStyleChild() OVERRIDE;
+ void registerScopedHTMLStyleChild();
+ void unregisterScopedHTMLStyleChild();
bool containsShadowElements() const;
bool containsContentElements() const;
@@ -93,6 +93,7 @@ public:
// For Internals, don't use this.
unsigned childShadowRootCount() const;
+ unsigned numberOfStyles() const { return m_numberOfStyles; }
HTMLShadowElement* shadowInsertionPointOfYoungerShadowRoot() const;
void setShadowInsertionPointOfYoungerShadowRoot(PassRefPtr<HTMLShadowElement>);
« no previous file with comments | « Source/core/dom/StyleSheetScopingNodeList.cpp ('k') | Source/core/html/HTMLStyleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698