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

Unified Diff: Source/core/dom/shadow/ShadowRoot.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/dom/shadow/ElementShadow.cpp ('k') | Source/core/editing/iterators/CharacterIterator.cpp » ('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 40bea4b556baa3151579b6b714e48347db05e197..a4904f5195f4157b51cb1882eafe5b71576a59eb 100644
--- a/Source/core/dom/shadow/ShadowRoot.h
+++ b/Source/core/dom/shadow/ShadowRoot.h
@@ -53,8 +53,8 @@ public:
// in several elements for a while.
// See https://bugs.webkit.org/show_bug.cgi?id=77503 and related bugs.
enum ShadowRootType {
- UserAgentShadowRoot = 0,
- AuthorShadowRoot
+ ClosedShadowRoot = 0,
+ OpenShadowRoot
};
static PassRefPtrWillBeRawPtr<ShadowRoot> create(Document& document, ShadowRootType type)
@@ -74,7 +74,7 @@ public:
ShadowRoot* youngerShadowRoot() const { return prev(); }
ShadowRoot* olderShadowRootForBindings() const;
- bool shouldExposeToBindings() const { return type() == AuthorShadowRoot; }
+ bool shouldExposeToBindings() const { return type() == OpenShadowRoot; }
bool isYoungest() const { return !youngerShadowRoot(); }
bool isOldest() const { return !olderShadowRoot(); }
« no previous file with comments | « Source/core/dom/shadow/ElementShadow.cpp ('k') | Source/core/editing/iterators/CharacterIterator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698