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

Unified Diff: Source/core/dom/ShadowRoot.idl

Issue 14179013: Add support for [NoInterfaceObject] extended attribute to bindings generator (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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
Index: Source/core/dom/ShadowRoot.idl
diff --git a/Source/core/dom/ShadowRoot.idl b/Source/core/dom/ShadowRoot.idl
index 0b9cd70c7d063b881fb9de47d6eb51c950e996ef..cae31618547f862dc388b93bf8e6b6cb2605cbba 100644
--- a/Source/core/dom/ShadowRoot.idl
+++ b/Source/core/dom/ShadowRoot.idl
@@ -24,7 +24,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-interface ShadowRoot : DocumentFragment {
+[
+ EnabledAtRuntime=shadowDOM,
+ InterfaceName=WebKitShadowRoot
+] interface ShadowRoot : DocumentFragment {
readonly attribute Element activeElement;
attribute boolean applyAuthorStyles;
attribute boolean resetStyleInheritance;

Powered by Google App Engine
This is Rietveld 408576698