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

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: . 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
« Source/web/RemoteFrameClientImpl.h ('K') | « 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..dffc0e91611ab8ed58ea1e7c9bf8003987ae7f91
--- /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 the document tree or in a shadow tree, per
+// the Shadow DOM spec at http://www.w3.org/TR/shadow-dom/#shadow-trees.
hayato 2015/05/18 05:08:50 Could you refer to the editor's draft, http://w3c.
dcheng 2015/05/18 05:19:14 Done.
+enum class WebTreeScopeType {
+ Document,
+ Shadow,
+ Last = Shadow,
+};
+
+} // namespace blink
+
+#endif // WebTreeScopeType_h
« Source/web/RemoteFrameClientImpl.h ('K') | « public/web/WebRemoteFrame.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698