Index: core/dom/shadow/ShadowRootInit.idl |
diff --git a/core/dom/shadow/ShadowRootInit.idl b/core/dom/shadow/ShadowRootInit.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a2a97dcd11bc960e6ab43c8963949fb8f720f41a |
--- /dev/null |
+++ b/core/dom/shadow/ShadowRootInit.idl |
@@ -0,0 +1,12 @@ |
+// 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. |
+ |
+// Spec: https://w3c.github.io/webcomponents/spec/shadow/#shadowrootinit-dictionary |
+ |
+enum ShadowRootMode { "open", "closed" }; |
+ |
+dictionary ShadowRootInit { |
+ ShadowRootMode mode; |
+ [RuntimeEnabled=ShadowRootDelegatesFocus] boolean delegatesFocus; |
+}; |