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

Side by Side Diff: Source/core/dom/Element.idl

Issue 334833003: Add UseCounter for Element.createShadowRoot() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/frame/UseCounter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 [Reflect=class] attribute DOMString className; 102 [Reflect=class] attribute DOMString className;
103 [PerWorldBindings] readonly attribute DOMTokenList classList; 103 [PerWorldBindings] readonly attribute DOMTokenList classList;
104 104
105 [PerWorldBindings] readonly attribute DOMStringMap dataset; 105 [PerWorldBindings] readonly attribute DOMStringMap dataset;
106 106
107 // WebKit extension 107 // WebKit extension
108 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel ector] boolean webkitMatchesSelector(DOMString selectors); 108 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel ector] boolean webkitMatchesSelector(DOMString selectors);
109 109
110 // Shadow DOM API 110 // Shadow DOM API
111 [RaisesException] ShadowRoot createShadowRoot(); 111 [RaisesException, MeasureAs=ElementCreateShadowRoot] ShadowRoot createShadow Root();
112 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot; 112 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot;
113 [PerWorldBindings] NodeList getDestinationInsertionPoints(); 113 [PerWorldBindings] NodeList getDestinationInsertionPoints();
114 114
115 // CSSOM View Module API 115 // CSSOM View Module API
116 ClientRectList getClientRects(); 116 ClientRectList getClientRects();
117 ClientRect getBoundingClientRect(); 117 ClientRect getBoundingClientRect();
118 118
119 // Mozilla version 119 // Mozilla version
120 const unsigned short ALLOW_KEYBOARD_INPUT = 1; 120 const unsigned short ALLOW_KEYBOARD_INPUT = 1;
121 [PerWorldBindings, LogActivity, LogAllWorlds, MeasureAs=PrefixedElementReque stFullScreen] void webkitRequestFullScreen([Default=Undefined] optional unsigned short flags); 121 [PerWorldBindings, LogActivity, LogAllWorlds, MeasureAs=PrefixedElementReque stFullScreen] void webkitRequestFullScreen([Default=Undefined] optional unsigned short flags);
(...skipping 17 matching lines...) Expand all
139 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 139 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
140 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 140 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
141 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 141 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
142 attribute EventHandler onwebkitfullscreenchange; 142 attribute EventHandler onwebkitfullscreenchange;
143 attribute EventHandler onwebkitfullscreenerror; 143 attribute EventHandler onwebkitfullscreenerror;
144 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel; 144 [PerWorldBindings, LogActivity=SetterOnly] attribute EventHandler onwheel;
145 }; 145 };
146 146
147 Element implements ParentNode; 147 Element implements ParentNode;
148 Element implements ChildNode; 148 Element implements ChildNode;
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698