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

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

Issue 22581002: Use EventHandler type instead of EventListener for event handler attributes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | « Source/core/page/Performance.idl ('k') | Source/core/svg/SVGElementInstance.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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Events
172 attribute EventListener onabort; 172 attribute EventHandler onabort;
173 attribute EventListener onbeforeunload; 173 attribute EventHandler onbeforeunload;
174 attribute EventListener onblur; 174 attribute EventHandler onblur;
175 attribute EventListener oncanplay; 175 attribute EventHandler oncanplay;
176 attribute EventListener oncanplaythrough; 176 attribute EventHandler oncanplaythrough;
177 attribute EventListener onchange; 177 attribute EventHandler onchange;
178 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner onclick; 178 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onclick;
179 attribute EventListener oncontextmenu; 179 attribute EventHandler oncontextmenu;
180 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner ondblclick; 180 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondblclick;
181 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner ondrag; 181 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondrag;
182 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner ondragend; 182 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondragend;
183 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner ondragenter; 183 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondragenter;
184 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner ondragleave; 184 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondragleave;
185 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner ondragover; 185 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondragover;
186 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner ondragstart; 186 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondragstart;
187 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner ondrop; 187 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er ondrop;
188 attribute EventListener ondurationchange; 188 attribute EventHandler ondurationchange;
189 attribute EventListener onemptied; 189 attribute EventHandler onemptied;
190 attribute EventListener onended; 190 attribute EventHandler onended;
191 attribute EventListener onerror; 191 attribute EventHandler onerror;
192 attribute EventListener onfocus; 192 attribute EventHandler onfocus;
193 attribute EventListener onhashchange; 193 attribute EventHandler onhashchange;
194 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner oninput; 194 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er oninput;
195 attribute EventListener oninvalid; 195 attribute EventHandler oninvalid;
196 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner onkeydown; 196 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onkeydown;
197 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner onkeypress; 197 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onkeypress;
198 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner onkeyup; 198 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onkeyup;
199 attribute EventListener onload; 199 attribute EventHandler onload;
200 attribute EventListener onloadeddata; 200 attribute EventHandler onloadeddata;
201 attribute EventListener onloadedmetadata; 201 attribute EventHandler onloadedmetadata;
202 attribute EventListener onloadstart; 202 attribute EventHandler onloadstart;
203 attribute EventListener onmessage; 203 attribute EventHandler onmessage;
204 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner onmousedown; 204 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmousedown;
205 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner onmouseenter; 205 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmouseenter;
206 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner onmouseleave; 206 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmouseleave;
207 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner onmousemove; 207 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmousemove;
208 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner onmouseout; 208 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmouseout;
209 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner onmouseover; 209 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmouseover;
210 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner onmouseup; 210 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmouseup;
211 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListe ner onmousewheel; 211 [PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandl er onmousewheel;
212 attribute EventListener onoffline; 212 attribute EventHandler onoffline;
213 attribute EventListener ononline; 213 attribute EventHandler ononline;
214 attribute EventListener onpagehide; 214 attribute EventHandler onpagehide;
215 attribute EventListener onpageshow; 215 attribute EventHandler onpageshow;
216 attribute EventListener onpause; 216 attribute EventHandler onpause;
217 attribute EventListener onplay; 217 attribute EventHandler onplay;
218 attribute EventListener onplaying; 218 attribute EventHandler onplaying;
219 attribute EventListener onpopstate; 219 attribute EventHandler onpopstate;
220 attribute EventListener onprogress; 220 attribute EventHandler onprogress;
221 attribute EventListener onratechange; 221 attribute EventHandler onratechange;
222 attribute EventListener onresize; 222 attribute EventHandler onresize;
223 attribute EventListener onscroll; 223 attribute EventHandler onscroll;
224 attribute EventListener onseeked; 224 attribute EventHandler onseeked;
225 attribute EventListener onseeking; 225 attribute EventHandler onseeking;
226 attribute EventListener onselect; 226 attribute EventHandler onselect;
227 attribute EventListener onstalled; 227 attribute EventHandler onstalled;
228 attribute EventListener onstorage; 228 attribute EventHandler onstorage;
229 attribute EventListener onsubmit; 229 attribute EventHandler onsubmit;
230 attribute EventListener onsuspend; 230 attribute EventHandler onsuspend;
231 attribute EventListener ontimeupdate; 231 attribute EventHandler ontimeupdate;
232 attribute EventListener onunload; 232 attribute EventHandler onunload;
233 attribute EventListener onvolumechange; 233 attribute EventHandler onvolumechange;
234 attribute EventListener onwaiting; 234 attribute EventHandler onwaiting;
235 235
236 // Not implemented yet. 236 // Not implemented yet.
237 // attribute EventListener onafterprint; 237 // attribute EventHandler onafterprint;
238 // attribute EventListener onbeforeprint; 238 // attribute EventHandler onbeforeprint;
239 // attribute EventListener onreadystatechange; 239 // attribute EventHandler onreadystatechange;
240 // attribute EventListener onredo; 240 // attribute EventHandler onredo;
241 // attribute EventListener onshow; 241 // attribute EventHandler onshow;
242 // attribute EventListener onundo; 242 // attribute EventHandler onundo;
243 243
244 // Webkit extensions 244 // Webkit extensions
245 attribute EventListener onreset; 245 attribute EventHandler onreset;
246 attribute EventListener onsearch; 246 attribute EventHandler onsearch;
247 attribute EventListener onwebkitanimationend; 247 attribute EventHandler onwebkitanimationend;
248 attribute EventListener onwebkitanimationiteration; 248 attribute EventHandler onwebkitanimationiteration;
249 attribute EventListener onwebkitanimationstart; 249 attribute EventHandler onwebkitanimationstart;
250 attribute EventListener onwebkittransitionend; 250 attribute EventHandler onwebkittransitionend;
251 attribute EventListener ontransitionend; 251 attribute EventHandler ontransitionend;
252 [Conditional=ORIENTATION_EVENTS] attribute EventListener onorientationchange ; 252 [Conditional=ORIENTATION_EVENTS] attribute EventHandler onorientationchange;
253 [EnabledAtRuntime=touch] attribute EventListener ontouchstart; 253 [EnabledAtRuntime=touch] attribute EventHandler ontouchstart;
254 [EnabledAtRuntime=touch] attribute EventListener ontouchmove; 254 [EnabledAtRuntime=touch] attribute EventHandler ontouchmove;
255 [EnabledAtRuntime=touch] attribute EventListener ontouchend; 255 [EnabledAtRuntime=touch] attribute EventHandler ontouchend;
256 [EnabledAtRuntime=touch] attribute EventListener ontouchcancel; 256 [EnabledAtRuntime=touch] attribute EventHandler ontouchcancel;
257 257
258 [EnabledAtRuntime=deviceMotion] attribute EventListener ondevicemotion; 258 [EnabledAtRuntime=deviceMotion] attribute EventHandler ondevicemotion;
259 [EnabledAtRuntime=deviceOrientation] attribute EventListener ondeviceorienta tion; 259 [EnabledAtRuntime=deviceOrientation] attribute EventHandler ondeviceorientat ion;
260 260
261 [DeprecateAs=CaptureEvents] void captureEvents(); 261 [DeprecateAs=CaptureEvents] void captureEvents();
262 [DeprecateAs=ReleaseEvents] void releaseEvents(); 262 [DeprecateAs=ReleaseEvents] void releaseEvents();
263 263
264 // Additional constructors. 264 // Additional constructors.
265 attribute TransitionEventConstructor WebKitTransitionEvent; 265 attribute TransitionEventConstructor WebKitTransitionEvent;
266 [CustomConstructor] attribute HTMLImageElementConstructorConstructor Image; // Usable with new operator 266 [CustomConstructor] attribute HTMLImageElementConstructorConstructor Image; // Usable with new operator
267 // Mozilla has a separate XMLDocument object for XML documents. 267 // Mozilla has a separate XMLDocument object for XML documents.
268 // We just use Document for this. 268 // We just use Document for this.
269 attribute DocumentConstructor XMLDocument; 269 attribute DocumentConstructor XMLDocument;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 // window.toString() requires special handling in V8 301 // window.toString() requires special handling in V8
302 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString(); 302 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t oString();
303 303
304 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned long index); 304 [ImplementedAs=anonymousIndexedGetter, NotEnumerable] getter Window(unsigned long index);
305 [Custom, NotEnumerable] getter Window (DOMString name); 305 [Custom, NotEnumerable] getter Window (DOMString name);
306 }; 306 };
307 307
308 Window implements ImageBitmapFactories; 308 Window implements ImageBitmapFactories;
309 Window implements WindowTimers; 309 Window implements WindowTimers;
310 Window implements WindowBase64; 310 Window implements WindowBase64;
OLDNEW
« no previous file with comments | « Source/core/page/Performance.idl ('k') | Source/core/svg/SVGElementInstance.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698