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

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

Issue 27133002: Add shared GlobalEventHandlers IDL (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@attrsync
Patch Set: alphabetize Created 7 years, 2 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
« no previous file with comments | « Source/core/dom/GlobalEventHandlers.idl ('k') | Source/core/html/HTMLElement.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
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 [Replaceable] readonly attribute Performance performance; 161 [Replaceable] readonly attribute Performance performance;
162 162
163 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque stAnimationFrameCallback callback); 163 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Reque stAnimationFrameCallback callback);
164 void cancelAnimationFrame(long id); 164 void cancelAnimationFrame(long id);
165 [MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame(R equestAnimationFrameCallback callback); 165 [MeasureAs=PrefixedRequestAnimationFrame] long webkitRequestAnimationFrame(R equestAnimationFrameCallback callback);
166 [ImplementedAs=cancelAnimationFrame] void webkitCancelAnimationFrame(long id ); 166 [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. 167 [ImplementedAs=cancelAnimationFrame] void webkitCancelRequestAnimationFrame( long id); // This is a deprecated alias for webkitCancelAnimationFrame(). Remove this when removing vendor prefix.
168 168
169 [Replaceable] readonly attribute CSS CSS; 169 [Replaceable] readonly attribute CSS CSS;
170 170
171 // Events 171 // Event handler attributes
172 attribute EventHandler onabort;
173 attribute EventHandler onbeforeunload;
174 attribute EventHandler onblur;
175 attribute EventHandler oncancel;
176 attribute EventHandler oncanplay;
177 attribute EventHandler oncanplaythrough;
178 attribute EventHandler onchange;
179 [ActivityLogging=Setter] attribute EventHandler onclick;
180 attribute EventHandler onclose;
181 attribute EventHandler oncontextmenu;
182 attribute EventHandler oncuechange;
183 [ActivityLogging=Setter] attribute EventHandler ondblclick;
184 [ActivityLogging=Setter] attribute EventHandler ondrag;
185 [ActivityLogging=Setter] attribute EventHandler ondragend;
186 [ActivityLogging=Setter] attribute EventHandler ondragenter;
187 [ActivityLogging=Setter] attribute EventHandler ondragleave;
188 [ActivityLogging=Setter] attribute EventHandler ondragover;
189 [ActivityLogging=Setter] attribute EventHandler ondragstart;
190 [ActivityLogging=Setter] attribute EventHandler ondrop;
191 attribute EventHandler ondurationchange;
192 attribute EventHandler onemptied;
193 attribute EventHandler onended;
194 attribute EventHandler onerror;
195 attribute EventHandler onfocus;
196 attribute EventHandler onhashchange;
197 [ActivityLogging=Setter] attribute EventHandler oninput;
198 attribute EventHandler oninvalid;
199 [ActivityLogging=Setter] attribute EventHandler onkeydown;
200 [ActivityLogging=Setter] attribute EventHandler onkeypress;
201 [ActivityLogging=Setter] attribute EventHandler onkeyup;
202 attribute EventHandler onload;
203 attribute EventHandler onloadeddata;
204 attribute EventHandler onloadedmetadata;
205 attribute EventHandler onloadstart;
206 attribute EventHandler onmessage;
207 [ActivityLogging=Setter] attribute EventHandler onmousedown;
208 [ActivityLogging=Setter] attribute EventHandler onmouseenter;
209 [ActivityLogging=Setter] attribute EventHandler onmouseleave;
210 [ActivityLogging=Setter] attribute EventHandler onmousemove;
211 [ActivityLogging=Setter] attribute EventHandler onmouseout;
212 [ActivityLogging=Setter] attribute EventHandler onmouseover;
213 [ActivityLogging=Setter] attribute EventHandler onmouseup;
214 [ActivityLogging=Setter] attribute EventHandler onmousewheel; // Deprecated in favor of onwheel.
215 [ActivityLogging=Setter] attribute EventHandler onwheel;
216 attribute EventHandler onoffline;
217 attribute EventHandler ononline;
218 attribute EventHandler onpagehide;
219 attribute EventHandler onpageshow;
220 attribute EventHandler onpause;
221 attribute EventHandler onplay;
222 attribute EventHandler onplaying;
223 attribute EventHandler onpopstate;
224 attribute EventHandler onprogress;
225 attribute EventHandler onratechange;
226 attribute EventHandler onreset;
227 attribute EventHandler onresize;
228 attribute EventHandler onscroll;
229 attribute EventHandler onseeked;
230 attribute EventHandler onseeking;
231 attribute EventHandler onselect;
232 attribute EventHandler onshow;
233 attribute EventHandler onstalled;
234 attribute EventHandler onstorage;
235 attribute EventHandler onsubmit;
236 attribute EventHandler onsuspend;
237 attribute EventHandler ontimeupdate;
238 attribute EventHandler onunload;
239 attribute EventHandler onvolumechange;
240 attribute EventHandler onwaiting;
241
242 // Not implemented yet.
243 // attribute EventHandler onafterprint;
244 // attribute EventHandler onbeforeprint;
245 // attribute EventHandler onreadystatechange;
246 // attribute EventHandler onredo;
247 // attribute EventHandler onundo;
248
249 // Webkit extensions
250 attribute EventHandler onsearch;
251 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationen d; 172 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationen d;
252 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationit eration; 173 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationit eration;
253 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationst art; 174 [RuntimeEnabled=CSSAnimationUnprefixed] attribute EventHandler onanimationst art;
175 attribute EventHandler onbeforeunload;
176 [RuntimeEnabled=DeviceMotion] attribute EventHandler ondevicemotion;
177 [RuntimeEnabled=DeviceOrientation] attribute EventHandler ondeviceorientatio n;
178 attribute EventHandler onhashchange;
179 attribute EventHandler onmessage;
180 attribute EventHandler onoffline;
181 attribute EventHandler ononline;
182 [Conditional=ORIENTATION_EVENTS] attribute EventHandler onorientationchange;
183 attribute EventHandler onpagehide;
184 attribute EventHandler onpageshow;
185 attribute EventHandler onpopstate;
186 attribute EventHandler onresize;
187 attribute EventHandler onsearch;
188 attribute EventHandler onstorage;
189 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
190 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
191 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
192 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
193 attribute EventHandler ontransitionend;
194 attribute EventHandler onunload;
254 attribute EventHandler onwebkitanimationend; 195 attribute EventHandler onwebkitanimationend;
255 attribute EventHandler onwebkitanimationiteration; 196 attribute EventHandler onwebkitanimationiteration;
256 attribute EventHandler onwebkitanimationstart; 197 attribute EventHandler onwebkitanimationstart;
257 attribute EventHandler onwebkittransitionend; 198 attribute EventHandler onwebkittransitionend;
258 attribute EventHandler ontransitionend; 199 [ActivityLogging=Setter] attribute EventHandler onwheel;
259 [Conditional=ORIENTATION_EVENTS] attribute EventHandler onorientationchange;
260 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
261 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
262 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
263 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
264
265 [RuntimeEnabled=DeviceMotion] attribute EventHandler ondevicemotion;
266 [RuntimeEnabled=DeviceOrientation] attribute EventHandler ondeviceorientatio n;
267 200
268 [DeprecateAs=CaptureEvents] void captureEvents(); 201 [DeprecateAs=CaptureEvents] void captureEvents();
269 [DeprecateAs=ReleaseEvents] void releaseEvents(); 202 [DeprecateAs=ReleaseEvents] void releaseEvents();
270 203
271 // Additional constructors. 204 // Additional constructors.
272 attribute TransitionEventConstructor WebKitTransitionEvent; 205 attribute TransitionEventConstructor WebKitTransitionEvent;
273 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr uctor AnimationEvent; 206 [RuntimeEnabled=CSSAnimationUnprefixed] attribute WebKitAnimationEventConstr uctor AnimationEvent;
274 [CustomConstructor] attribute HTMLImageElementConstructorConstructor Image; // Usable with new operator 207 [CustomConstructor] attribute HTMLImageElementConstructorConstructor Image; // Usable with new operator
275 // Mozilla has a separate XMLDocument object for XML documents. 208 // Mozilla has a separate XMLDocument object for XML documents.
276 // We just use Document for this. 209 // We just use Document for this.
(...skipping 29 matching lines...) Expand all
306 [RuntimeEnabled=ShadowDOM] attribute ShadowRootConstructor ShadowRoot; 239 [RuntimeEnabled=ShadowDOM] attribute ShadowRootConstructor ShadowRoot;
307 [MeasureAs=PrefixedShadowRootConstructor] attribute ShadowRootConstructor We bKitShadowRoot; 240 [MeasureAs=PrefixedShadowRootConstructor] attribute ShadowRootConstructor We bKitShadowRoot;
308 241
309 // window.toString() requires special handling in V8 242 // window.toString() requires special handling in V8
310 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString(); 243 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString();
311 244
312 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned long index); 245 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned long index);
313 [Custom, NotEnumerable] getter Window (DOMString name); 246 [Custom, NotEnumerable] getter Window (DOMString name);
314 }; 247 };
315 248
249 Window implements GlobalEventHandlers;
316 Window implements ImageBitmapFactories; 250 Window implements ImageBitmapFactories;
251 Window implements WindowBase64;
317 Window implements WindowTimers; 252 Window implements WindowTimers;
318 Window implements WindowBase64;
OLDNEW
« no previous file with comments | « Source/core/dom/GlobalEventHandlers.idl ('k') | Source/core/html/HTMLElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698