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

Unified Diff: public/web/WebTreeScopeType.h

Issue 1132133009: Plumb whether or not a frame is in shadow DOM to the embedder. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address review comments Created 5 years, 7 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 | « public/web/WebRemoteFrame.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebTreeScopeType.h
diff --git a/public/web/WebTreeScopeType.h b/public/web/WebTreeScopeType.h
new file mode 100644
index 0000000000000000000000000000000000000000..fe54a25f4775468667e30552fb88682165542591
--- /dev/null
+++ b/public/web/WebTreeScopeType.h
@@ -0,0 +1,20 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be found
+// in the LICENSE file.
+
+#ifndef WebTreeScopeType_h
+#define WebTreeScopeType_h
+
+namespace blink {
+
+// Indicates if an item is in a document tree or in a shadow tree, per the
+// Shadow DOM spec: https://w3c.github.io/webcomponents/spec/shadow/
+enum class WebTreeScopeType {
+ Document,
+ Shadow,
+ Last = Shadow,
+};
+
+} // namespace blink
+
+#endif // WebTreeScopeType_h
« no previous file with comments | « public/web/WebRemoteFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698