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

Side by Side Diff: core/frame/Window.idl

Issue 126143003: Update IDL to Chrome 32 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 years, 11 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 | « core/frame/WebKitPoint.idl ('k') | core/frame/WindowBase64.idl » ('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, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the 11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution. 12 * documentation and/or other materials provided with the distribution.
13 * 13 *
14 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY 14 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
15 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR 17 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
18 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 18 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
19 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 19 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
20 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 20 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 21 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 // HTML 5 draft spec:
28 // http://www.w3.org/html/wg/drafts/html/master/browsers.html#window
27 [ 29 [
28 CheckSecurity, 30 CheckSecurity,
29 CustomToV8, 31 CustomToV8,
30 DoNotGenerateWrap, 32 DoNotGenerateWrap,
31 ImplementedAs=DOMWindow 33 ImplementedAs=DOMWindow
32 ] interface Window : EventTarget { 34 ] interface Window : EventTarget {
33 // DOM Level 0 35 // DOM Level 0
34 [Replaceable] readonly attribute Screen screen; 36 [Replaceable] readonly attribute Screen screen;
35 [Replaceable] readonly attribute History history; 37 [Replaceable] readonly attribute History history;
36 [Replaceable] readonly attribute BarProp locationbar; 38 [Replaceable] readonly attribute BarProp locationbar;
37 [Replaceable] readonly attribute BarProp menubar; 39 [Replaceable] readonly attribute BarProp menubar;
38 [Replaceable] readonly attribute BarProp personalbar; 40 [Replaceable] readonly attribute BarProp personalbar;
39 [Replaceable] readonly attribute BarProp scrollbars; 41 [Replaceable] readonly attribute BarProp scrollbars;
40 [Replaceable] readonly attribute BarProp statusbar; 42 [Replaceable] readonly attribute BarProp statusbar;
41 [Replaceable] readonly attribute BarProp toolbar; 43 [Replaceable] readonly attribute BarProp toolbar;
42 [Replaceable, PerWorldBindings, ActivityLog=GetterForIsolatedWorlds] readonl y attribute Navigator navigator; 44 [Replaceable, PerWorldBindings, ActivityLogging=GetterForIsolatedWorlds] rea donly attribute Navigator navigator;
43 [Replaceable] readonly attribute Navigator clientInformation; 45 [Replaceable] readonly attribute Navigator clientInformation;
44 [DoNotCheckSecurity, CustomSetter, Unforgeable, Replaceable, PerWorldBinding s, ActivityLog=AccessForIsolatedWorlds] readonly attribute Location location; 46 [DoNotCheckSecurity, Unforgeable, Replaceable, PerWorldBindings, ActivityLog ging=AccessForIsolatedWorlds, PutForwards=href] readonly attribute Location loca tion;
45 [MeasureAs=WindowEvent, NotEnumerable, Replaceable, CustomGetter, CustomSett er] readonly attribute Event event; 47 [Custom, MeasureAs=WindowEvent, NotEnumerable] attribute Event event;
46 48
47 Selection getSelection(); 49 Selection getSelection();
48 50
49 [CheckSecurityForNode] readonly attribute Element frameElement; 51 [CheckSecurityForNode] readonly attribute Element frameElement;
50 52
51 [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void focus(); 53 [DoNotCheckSecurity, CallWith=ExecutionContext] void focus();
52 [DoNotCheckSecurity] void blur(); 54 [DoNotCheckSecurity] void blur();
53 [DoNotCheckSecurity, CallWith=ScriptExecutionContext] void close(); 55 [DoNotCheckSecurity, CallWith=ExecutionContext] void close();
54 56
55 void print(); 57 void print();
56 void stop(); 58 void stop();
57 59
58 [Custom] Window open(DOMString url, 60 [Custom] Window open(DOMString url,
59 DOMString name, 61 DOMString name,
60 optional DOMString options); 62 optional DOMString options);
61 63
62 [Custom] any showModalDialog(DOMString url, 64 [Custom] any showModalDialog(DOMString url,
63 optional any dialogArgs, 65 optional any dialogArgs,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 attribute DOMString status; 110 attribute DOMString status;
109 attribute DOMString defaultStatus; 111 attribute DOMString defaultStatus;
110 // This attribute is an alias of defaultStatus and is necessary for legacy u ses. 112 // This attribute is an alias of defaultStatus and is necessary for legacy u ses.
111 attribute DOMString defaultstatus; 113 attribute DOMString defaultstatus;
112 114
113 // Self referential attributes 115 // Self referential attributes
114 [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute Window self; 116 [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute Window self;
115 [DoNotCheckSecurity, Unforgeable] readonly attribute Window window; 117 [DoNotCheckSecurity, Unforgeable] readonly attribute Window window;
116 [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute Window frames; 118 [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute Window frames;
117 119
118 [Replaceable, DoNotCheckSecurityOnGetter, CustomSetter] readonly attribute W indow opener; 120 [DoNotCheckSecurityOnGetter, CustomSetter] attribute Window opener;
119 [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute Window parent; 121 [Replaceable, DoNotCheckSecurityOnGetter] readonly attribute Window parent;
120 [DoNotCheckSecurityOnGetter, Unforgeable] readonly attribute Window top; 122 [DoNotCheckSecurityOnGetter, Unforgeable] readonly attribute Window top;
121 123
122 // DOM Level 2 AbstractView Interface 124 // DOM Level 2 AbstractView Interface
123 readonly attribute Document document; 125 readonly attribute Document document;
124 126
125 // CSSOM View Module 127 // CSSOM View Module
126 MediaQueryList matchMedia(DOMString query); 128 MediaQueryList matchMedia(DOMString query);
127 129
128 // styleMedia has been removed from the CSSOM View specification. 130 // styleMedia has been removed from the CSSOM View specification.
129 readonly attribute StyleMedia styleMedia; 131 readonly attribute StyleMedia styleMedia;
130 132
131 // DOM Level 2 Style Interface 133 // DOM Level 2 Style Interface
132 [PerWorldBindings] CSSStyleDeclaration getComputedStyle([Default=Undefined] optional Element element, 134 [PerWorldBindings] CSSStyleDeclaration getComputedStyle([Default=Undefined] optional Element element,
133 [TreatNullAs=NullS tring, TreatUndefinedAs=NullString,Default=Undefined] optional DOMString pseudoE lement); 135 [TreatNullAs=NullS tring, TreatUndefinedAs=NullString,Default=Undefined] optional DOMString pseudoE lement);
134 136
135 // WebKit extensions 137 // WebKit extensions
136 CSSRuleList getMatchedCSSRules([Default=Undefined] optional Element element, 138 CSSRuleList getMatchedCSSRules([Default=Undefined] optional Element element,
137 [TreatNullAs=NullString, TreatUndefinedAs=Nul lString,Default=Undefined] optional DOMString pseudoElement); 139 [TreatNullAs=NullString, TreatUndefinedAs=Nul lString,Default=Undefined] optional DOMString pseudoElement);
138 140
139 [Replaceable] readonly attribute double devicePixelRatio; 141 [Replaceable] readonly attribute double devicePixelRatio;
140 142
141 WebKitPoint webkitConvertPointFromPageToNode([Default=Undefined] optional No de node, 143 WebKitPoint webkitConvertPointFromPageToNode([Default=Undefined] optional No de node,
142 [Default=Undefined] optional We bKitPoint p); 144 [Default=Undefined] optional We bKitPoint p);
143 WebKitPoint webkitConvertPointFromNodeToPage([Default=Undefined] optional No de node, 145 WebKitPoint webkitConvertPointFromNodeToPage([Default=Undefined] optional No de node,
144 [Default=Undefined] optional We bKitPoint p); 146 [Default=Undefined] optional We bKitPoint p);
145 147
146 [EnabledAtRuntime=ApplicationCache, PerWorldBindings, ActivityLog=GetterForI solatedWorlds] readonly attribute ApplicationCache applicationCache; 148 [RuntimeEnabled=ApplicationCache, PerWorldBindings, ActivityLogging=GetterFo rIsolatedWorlds] readonly attribute ApplicationCache applicationCache;
147 149
148 [EnabledAtRuntime=SessionStorage, PerWorldBindings, ActivityLog=GetterForIso latedWorlds, GetterRaisesException] readonly attribute Storage sessionStorage; 150 [RuntimeEnabled=SessionStorage, PerWorldBindings, ActivityLogging=GetterForI solatedWorlds, GetterRaisesException] readonly attribute Storage sessionStorage;
149 [EnabledAtRuntime=LocalStorage, PerWorldBindings, ActivityLog=GetterForIsola tedWorlds, GetterRaisesException] readonly attribute Storage localStorage; 151 [RuntimeEnabled=LocalStorage, PerWorldBindings, ActivityLogging=GetterForIso latedWorlds, GetterRaisesException] readonly attribute Storage localStorage;
150 152
151 // This is the interface orientation in degrees. Some examples are: 153 // This is the interface orientation in degrees. Some examples are:
152 // 0 is straight up; -90 is when the device is rotated 90 clockwise; 154 // 0 is straight up; -90 is when the device is rotated 90 clockwise;
153 // 90 is when rotated counter clockwise. 155 // 90 is when rotated counter clockwise.
154 [Conditional=ORIENTATION_EVENTS] readonly attribute long orientation; 156 [Conditional=ORIENTATION_EVENTS] readonly attribute long orientation;
155 157
156 [Replaceable] readonly attribute Console console; 158 [Replaceable] readonly attribute Console console;
157 159
158 // cross-document messaging 160 // cross-document messaging
159 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(SerializedScr iptValue message, DOMString targetOrigin, optional Array messagePorts); 161 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(SerializedScr iptValue message, DOMString targetOrigin, optional Array messagePorts);
160 162
161 [Replaceable] readonly attribute Performance performance; 163 [Replaceable] readonly attribute Performance performance;
162 164
163 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque stAnimationFrameCallback callback); 165 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque stAnimationFrameCallback callback);
164 void cancelAnimationFrame(long id); 166 void cancelAnimationFrame(long id);
165 [MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame(R equestAnimationFrameCallback callback); 167 [MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame(R equestAnimationFrameCallback callback);
166 [ImplementedAs=cancelAnimationFrame] void webkitCancelAnimationFrame(long id ); 168 [ImplementedAs=cancelAnimationFrame] void webkitCancelAnimationFrame(long id );
167 [ImplementedAs=cancelAnimationFrame] void webkitCancelRequestAnimationFrame( long id); // This is a deprecated alias for webkitCancelAnimationFrame(). Remove this when removing vendor prefix. 169 [ImplementedAs=cancelAnimationFrame] void webkitCancelRequestAnimationFrame( long id); // This is a deprecated alias for webkitCancelAnimationFrame(). Remove this when removing vendor prefix.
168 170
169 [Replaceable] readonly attribute CSS CSS; 171 [Replaceable] readonly attribute CSS CSS;
170 172
171 // Events 173 // Event handler attributes
172 attribute EventHandler onabort; 174 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationen d;
173 attribute EventHandler onbeforeunload; 175 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationit eration;
174 attribute EventHandler onblur; 176 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationst art;
175 attribute EventHandler oncanplay; 177 [RuntimeEnabled=DeviceMotion] attribute EventHandler ondevicemotion;
176 attribute EventHandler oncanplaythrough; 178 [RuntimeEnabled=DeviceOrientation] attribute EventHandler ondeviceorientatio n;
177 attribute EventHandler onchange; 179 [Conditional=ORIENTATION_EVENTS] attribute EventHandler onorientationchange;
178 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onclick;
179 attribute EventHandler oncontextmenu;
180 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondblclick;
181 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondrag;
182 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondragend;
183 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondragenter;
184 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondragleave;
185 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondragover;
186 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondragstart;
187 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondrop;
188 attribute EventHandler ondurationchange;
189 attribute EventHandler onemptied;
190 attribute EventHandler onended;
191 attribute EventHandler onerror;
192 attribute EventHandler onfocus;
193 attribute EventHandler onhashchange;
194 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er oninput;
195 attribute EventHandler oninvalid;
196 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onkeydown;
197 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onkeypress;
198 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onkeyup;
199 attribute EventHandler onload;
200 attribute EventHandler onloadeddata;
201 attribute EventHandler onloadedmetadata;
202 attribute EventHandler onloadstart;
203 attribute EventHandler onmessage;
204 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmousedown;
205 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmouseenter;
206 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmouseleave;
207 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmousemove;
208 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmouseout;
209 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmouseover;
210 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmouseup;
211 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmousewheel; // Deprecated in favor of onwheel.
212 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onwheel;
213 attribute EventHandler onoffline;
214 attribute EventHandler ononline;
215 attribute EventHandler onpagehide;
216 attribute EventHandler onpageshow;
217 attribute EventHandler onpause;
218 attribute EventHandler onplay;
219 attribute EventHandler onplaying;
220 attribute EventHandler onpopstate;
221 attribute EventHandler onprogress;
222 attribute EventHandler onratechange;
223 attribute EventHandler onresize;
224 attribute EventHandler onscroll;
225 attribute EventHandler onseeked;
226 attribute EventHandler onseeking;
227 attribute EventHandler onselect;
228 attribute EventHandler onstalled;
229 attribute EventHandler onstorage;
230 attribute EventHandler onsubmit;
231 attribute EventHandler onsuspend;
232 attribute EventHandler ontimeupdate;
233 attribute EventHandler onunload;
234 attribute EventHandler onvolumechange;
235 attribute EventHandler onwaiting;
236
237 // Not implemented yet.
238 // attribute EventHandler onafterprint;
239 // attribute EventHandler onbeforeprint;
240 // attribute EventHandler onreadystatechange;
241 // attribute EventHandler onredo;
242 // attribute EventHandler onshow;
243 // attribute EventHandler onundo;
244
245 // Webkit extensions
246 attribute EventHandler onreset;
247 attribute EventHandler onsearch; 180 attribute EventHandler onsearch;
248 [EnabledAtRuntime=CSSAnimationUnprefixed] attribute EventHandler onanimation end; 181 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
249 [EnabledAtRuntime=CSSAnimationUnprefixed] attribute EventHandler onanimation iteration; 182 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
250 [EnabledAtRuntime=CSSAnimationUnprefixed] attribute EventHandler onanimation start; 183 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
184 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
185 attribute EventHandler ontransitionend;
251 attribute EventHandler onwebkitanimationend; 186 attribute EventHandler onwebkitanimationend;
252 attribute EventHandler onwebkitanimationiteration; 187 attribute EventHandler onwebkitanimationiteration;
253 attribute EventHandler onwebkitanimationstart; 188 attribute EventHandler onwebkitanimationstart;
254 attribute EventHandler onwebkittransitionend; 189 attribute EventHandler onwebkittransitionend;
255 attribute EventHandler ontransitionend; 190 [ActivityLogging=SetterForAllWorlds] attribute EventHandler onwheel;
256 [Conditional=ORIENTATION_EVENTS] attribute EventHandler onorientationchange;
257 [EnabledAtRuntime=Touch] attribute EventHandler ontouchstart;
258 [EnabledAtRuntime=Touch] attribute EventHandler ontouchmove;
259 [EnabledAtRuntime=Touch] attribute EventHandler ontouchend;
260 [EnabledAtRuntime=Touch] attribute EventHandler ontouchcancel;
261
262 [EnabledAtRuntime=DeviceMotion] attribute EventHandler ondevicemotion;
263 [EnabledAtRuntime=DeviceOrientation] attribute EventHandler ondeviceorientat ion;
264 191
265 [DeprecateAs=CaptureEvents] void captureEvents(); 192 [DeprecateAs=CaptureEvents] void captureEvents();
266 [DeprecateAs=ReleaseEvents] void releaseEvents(); 193 [DeprecateAs=ReleaseEvents] void releaseEvents();
267 194
268 // Additional constructors. 195 // Additional constructors.
269 attribute TransitionEventConstructor WebKitTransitionEvent; 196 attribute TransitionEventConstructor WebKitTransitionEvent;
270 [EnabledAtRuntime=CSSAnimationUnprefixed] attribute WebKitAnimationEventCons tructor AnimationEvent; 197 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr uctor AnimationEvent;
271 [CustomConstructor] attribute HTMLImageElementConstructorConstructor Image; // Usable with new operator
272 // Mozilla has a separate XMLDocument object for XML documents. 198 // Mozilla has a separate XMLDocument object for XML documents.
273 // We just use Document for this. 199 // We just use Document for this.
274 attribute DocumentConstructor XMLDocument; 200 attribute DocumentConstructor XMLDocument;
275 attribute URLConstructor webkitURL; // FIXME: deprecate this. 201 attribute URLConstructor webkitURL; // FIXME: deprecate this.
276 attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add metrics to determine when we can remove this. 202 attribute MutationObserverConstructor WebKitMutationObserver; // FIXME: Add metrics to determine when we can remove this.
277 attribute IDBCursorConstructor webkitIDBCursor; 203 attribute IDBCursorConstructor webkitIDBCursor;
278 attribute IDBDatabaseConstructor webkitIDBDatabase; 204 attribute IDBDatabaseConstructor webkitIDBDatabase;
279 attribute IDBFactoryConstructor webkitIDBFactory; 205 attribute IDBFactoryConstructor webkitIDBFactory;
280 attribute IDBIndexConstructor webkitIDBIndex; 206 attribute IDBIndexConstructor webkitIDBIndex;
281 attribute IDBKeyRangeConstructor webkitIDBKeyRange; 207 attribute IDBKeyRangeConstructor webkitIDBKeyRange;
282 attribute IDBObjectStoreConstructor webkitIDBObjectStore; 208 attribute IDBObjectStoreConstructor webkitIDBObjectStore;
283 attribute IDBRequestConstructor webkitIDBRequest; 209 attribute IDBRequestConstructor webkitIDBRequest;
284 attribute IDBTransactionConstructor webkitIDBTransaction; 210 attribute IDBTransactionConstructor webkitIDBTransaction;
285 211
286 // Constructors whose name does not match the interface name. 212 // Constructors whose name does not match the interface name.
287 // FIXME: Remove these once [ImplementedAs] is used and once constructor nam es match interface names. 213 // FIXME: Remove these once [ImplementedAs] is used and once constructor nam es match interface names.
288 [EnabledAtRuntime=MediaStream] attribute MediaStreamConstructor webkitMediaS tream; 214 [RuntimeEnabled=MediaStream] attribute MediaStreamConstructor webkitMediaStr eam;
289 [Conditional=WEB_AUDIO, EnabledAtRuntime=WebAudio] attribute AudioContextCon structor webkitAudioContext; 215 [Conditional=WEB_AUDIO, RuntimeEnabled=WebAudio] attribute AudioContextConst ructor webkitAudioContext;
290 [Conditional=WEB_AUDIO, EnabledAtRuntime=WebAudio] attribute OfflineAudioCon textConstructor webkitOfflineAudioContext; 216 [Conditional=WEB_AUDIO, RuntimeEnabled=WebAudio] attribute OfflineAudioConte xtConstructor webkitOfflineAudioContext;
291 [EnabledAtRuntime=PeerConnection] attribute RTCPeerConnectionConstructor web kitRTCPeerConnection; 217 [RuntimeEnabled=PeerConnection] attribute RTCPeerConnectionConstructor webki tRTCPeerConnection;
292 [EnabledAtRuntime=ScriptedSpeech] attribute SpeechGrammarConstructor webkitS peechGrammar; 218 [RuntimeEnabled=ScriptedSpeech] attribute SpeechGrammarConstructor webkitSpe echGrammar;
293 [EnabledAtRuntime=ScriptedSpeech] attribute SpeechGrammarListConstructor web kitSpeechGrammarList; 219 [RuntimeEnabled=ScriptedSpeech] attribute SpeechGrammarListConstructor webki tSpeechGrammarList;
294 [EnabledAtRuntime=ScriptedSpeech] attribute SpeechRecognitionConstructor web kitSpeechRecognition; 220 [RuntimeEnabled=ScriptedSpeech] attribute SpeechRecognitionConstructor webki tSpeechRecognition;
295 [EnabledAtRuntime=ScriptedSpeech] attribute SpeechRecognitionErrorConstructo r webkitSpeechRecognitionError; 221 [RuntimeEnabled=ScriptedSpeech] attribute SpeechRecognitionErrorConstructor webkitSpeechRecognitionError;
296 [EnabledAtRuntime=ScriptedSpeech] attribute SpeechRecognitionEventConstructo r webkitSpeechRecognitionEvent; 222 [RuntimeEnabled=ScriptedSpeech] attribute SpeechRecognitionEventConstructor webkitSpeechRecognitionEvent;
297 [Conditional=WEB_AUDIO] attribute PannerNodeConstructor webkitAudioPannerNod e; 223 [Conditional=WEB_AUDIO] attribute PannerNodeConstructor webkitAudioPannerNod e;
298 224
299 // Prefixed ShadowRoot constructor should be phased out eventually, but for the moment it must be always exposed. 225 // Prefixed ShadowRoot constructor should be phased out eventually, but for the moment it must be always exposed.
300 // Unprefixed ShadowRoot constructor should be visible when the feature flag is enabled. 226 // Unprefixed ShadowRoot constructor should be visible when the feature flag is enabled.
301 // FIXME: When it's ready to remove WebKitShadowRoot, get rid of both constr uctors from Window.idl and remove 227 // FIXME: When it's ready to remove WebKitShadowRoot, get rid of both constr uctors from Window.idl and remove
302 // [NoInterfaceObject] from ShadowRoot interface definition. 228 // [NoInterfaceObject] from ShadowRoot interface definition.
303 [EnabledAtRuntime=ShadowDOM] attribute ShadowRootConstructor ShadowRoot; 229 [RuntimeEnabled=ShadowDOM] attribute ShadowRootConstructor ShadowRoot;
304 [MeasureAs=PrefixedShadowRootConstructor] attribute ShadowRootConstructor We bKitShadowRoot; 230 [MeasureAs=PrefixedShadowRootConstructor] attribute ShadowRootConstructor We bKitShadowRoot;
305 231
306 // window.toString() requires special handling in V8 232 // window.toString() requires special handling in V8
307 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString(); 233 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString();
308 234
309 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned long index); 235 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned long index);
310 [Custom, NotEnumerable] getter Window (DOMString name); 236 [Custom, NotEnumerable] getter Window (DOMString name);
311 }; 237 };
312 238
239 Window implements GlobalEventHandlers;
313 Window implements ImageBitmapFactories; 240 Window implements ImageBitmapFactories;
241 Window implements WindowBase64;
242 Window implements WindowEventHandlers;
314 Window implements WindowTimers; 243 Window implements WindowTimers;
315 Window implements WindowBase64;
OLDNEW
« no previous file with comments | « core/frame/WebKitPoint.idl ('k') | core/frame/WindowBase64.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698