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

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

Issue 218943003: Re-landing r170008, removing prefixed Shadow DOM APIs in Element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 [RaisesException] NodeList querySelectorAll(DOMString selectors); 108 [RaisesException] NodeList querySelectorAll(DOMString selectors);
109 109
110 // WebKit extension 110 // WebKit extension
111 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel ector] boolean webkitMatchesSelector(DOMString selectors); 111 [RaisesException, ImplementedAs=matches, MeasureAs=ElementPrefixedMatchesSel ector] boolean webkitMatchesSelector(DOMString selectors);
112 112
113 // Shadow DOM API 113 // Shadow DOM API
114 [RaisesException] ShadowRoot createShadowRoot(); 114 [RaisesException] ShadowRoot createShadowRoot();
115 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot; 115 [PerWorldBindings] readonly attribute ShadowRoot shadowRoot;
116 [PerWorldBindings] NodeList getDestinationInsertionPoints(); 116 [PerWorldBindings] NodeList getDestinationInsertionPoints();
117 117
118 // To-be-deprecated prefixed Shadow DOM API
119 [ImplementedAs=createShadowRoot, RaisesException, MeasureAs=ShadowDOMPrefixe dCreateShadowRoot] ShadowRoot webkitCreateShadowRoot();
120 [ImplementedAs=shadowRoot, PerWorldBindings, MeasureAs=ShadowDOMPrefixedShad owRoot] readonly attribute ShadowRoot webkitShadowRoot;
121
122 // CSSOM View Module API 118 // CSSOM View Module API
123 ClientRectList getClientRects(); 119 ClientRectList getClientRects();
124 ClientRect getBoundingClientRect(); 120 ClientRect getBoundingClientRect();
125 121
126 // Mozilla version 122 // Mozilla version
127 const unsigned short ALLOW_KEYBOARD_INPUT = 1; 123 const unsigned short ALLOW_KEYBOARD_INPUT = 1;
128 [PerWorldBindings, ActivityLogging=ForAllWorlds, MeasureAs=PrefixedElementRe questFullScreen] void webkitRequestFullScreen([Default=Undefined] optional unsig ned short flags); 124 [PerWorldBindings, ActivityLogging=ForAllWorlds, MeasureAs=PrefixedElementRe questFullScreen] void webkitRequestFullScreen([Default=Undefined] optional unsig ned short flags);
129 125
130 // W3C version 126 // W3C version
131 [PerWorldBindings, ActivityLogging=ForAllWorlds, MeasureAs=PrefixedElementRe questFullscreen] void webkitRequestFullscreen(); 127 [PerWorldBindings, ActivityLogging=ForAllWorlds, MeasureAs=PrefixedElementRe questFullscreen] void webkitRequestFullscreen();
(...skipping 13 matching lines...) Expand all
145 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 141 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
146 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 142 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
147 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 143 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
148 attribute EventHandler onwebkitfullscreenchange; 144 attribute EventHandler onwebkitfullscreenchange;
149 attribute EventHandler onwebkitfullscreenerror; 145 attribute EventHandler onwebkitfullscreenerror;
150 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH andler onwheel; 146 [PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute EventH andler onwheel;
151 }; 147 };
152 148
153 Element implements ParentNode; 149 Element implements ParentNode;
154 Element implements ChildNode; 150 Element implements ChildNode;
OLDNEW
« no previous file with comments | « PerformanceTests/ShadowDOM/SmallDistributionWithLayout.html ('k') | Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698