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

Unified Diff: Source/core/dom/Element.h

Issue 935283002: Rename {Author,UserAgent}ShadowRoot to {Open,Closed}ShadowRoot. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix inspector tests Created 5 years, 10 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/css/SelectorChecker.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index 3a79335f875c4b1ca9768b3ffedc51ff87e52c34..e0bf00cab7613d0246b4767752aea822246a812b 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -328,10 +328,10 @@ public:
ShadowRoot* shadowRoot() const;
ShadowRoot* youngestShadowRoot() const;
- bool hasAuthorShadowRoot() const { return shadowRoot(); }
- ShadowRoot* userAgentShadowRoot() const;
- ShadowRoot& ensureUserAgentShadowRoot();
- virtual void willAddFirstAuthorShadowRoot() { }
+ bool hasOpenShadowRoot() const { return shadowRoot(); }
+ ShadowRoot* closedShadowRoot() const;
+ ShadowRoot& ensureClosedShadowRoot();
+ virtual void willAddFirstOpenShadowRoot() { }
bool isInDescendantTreeOf(const Element* shadowHost) const;
@@ -578,8 +578,8 @@ private:
// FIXME: Everyone should allow author shadows.
virtual bool areAuthorShadowsAllowed() const { return true; }
- virtual void didAddUserAgentShadowRoot(ShadowRoot&) { }
- virtual bool alwaysCreateUserAgentShadowRoot() const { return false; }
+ virtual void didAddClosedShadowRoot(ShadowRoot&) { }
+ virtual bool alwaysCreateClosedShadowRoot() const { return false; }
// FIXME: Remove the need for Attr to call willModifyAttribute/didModifyAttribute.
friend class Attr;
« no previous file with comments | « Source/core/css/SelectorChecker.cpp ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698