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

Side by Side Diff: Source/core/dom/Document.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/css/FontLoader.idl ('k') | Source/core/dom/Element.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, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org>
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 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 [RaisesException] NodeList querySelectorAll(DOMString selectors); 164 [RaisesException] NodeList querySelectorAll(DOMString selectors);
165 165
166 void webkitExitPointerLock(); 166 void webkitExitPointerLock();
167 readonly attribute Element webkitPointerLockElement; 167 readonly attribute Element webkitPointerLockElement;
168 168
169 [EnabledAtRuntime=cssRegions] WebKitNamedFlowCollection webkitGetNamedFlows( ); 169 [EnabledAtRuntime=cssRegions] WebKitNamedFlowCollection webkitGetNamedFlows( );
170 170
171 [EnabledAtRuntime=fontLoadEvents] readonly attribute FontLoader fontloader; 171 [EnabledAtRuntime=fontLoadEvents] readonly attribute FontLoader fontloader;
172 172
173 // Event handler DOM attributes 173 // Event handler DOM attributes
174 [NotEnumerable] attribute EventListener onabort; 174 [NotEnumerable] attribute EventHandler onabort;
175 [NotEnumerable] attribute EventListener onblur; 175 [NotEnumerable] attribute EventHandler onblur;
176 [NotEnumerable] attribute EventListener onchange; 176 [NotEnumerable] attribute EventHandler onchange;
177 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onclick; 177 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onclick;
178 [NotEnumerable] attribute EventListener oncontextmenu; 178 [NotEnumerable] attribute EventHandler oncontextmenu;
179 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondblclick; 179 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondblclick;
180 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondrag; 180 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondrag;
181 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondragend; 181 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondragend;
182 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondragenter; 182 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondragenter;
183 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondragleave; 183 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondragleave;
184 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondragover; 184 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondragover;
185 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondragstart; 185 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondragstart;
186 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener ondrop; 186 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler ondrop;
187 [NotEnumerable] attribute EventListener onerror; 187 [NotEnumerable] attribute EventHandler onerror;
188 [NotEnumerable] attribute EventListener onfocus; 188 [NotEnumerable] attribute EventHandler onfocus;
189 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener oninput; 189 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler oninput;
190 [NotEnumerable] attribute EventListener oninvalid; 190 [NotEnumerable] attribute EventHandler oninvalid;
191 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onkeydown; 191 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onkeydown;
192 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onkeypress; 192 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onkeypress;
193 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onkeyup; 193 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onkeyup;
194 [NotEnumerable] attribute EventListener onload; 194 [NotEnumerable] attribute EventHandler onload;
195 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmousedown; 195 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmousedown;
196 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmouseenter; 196 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseenter;
197 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmouseleave; 197 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseleave;
198 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmousemove; 198 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmousemove;
199 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmouseout; 199 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseout;
200 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmouseover; 200 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseover;
201 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmouseup; 201 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmouseup;
202 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventListener onmousewheel; 202 [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attri bute EventHandler onmousewheel;
203 [NotEnumerable] attribute EventListener onreadystatechange; 203 [NotEnumerable] attribute EventHandler onreadystatechange;
204 [NotEnumerable] attribute EventListener onscroll; 204 [NotEnumerable] attribute EventHandler onscroll;
205 [NotEnumerable] attribute EventListener onselect; 205 [NotEnumerable] attribute EventHandler onselect;
206 [NotEnumerable] attribute EventListener onsubmit; 206 [NotEnumerable] attribute EventHandler onsubmit;
207 207
208 // attribute [NotEnumerable] EventListener oncanplay; 208 // attribute [NotEnumerable] EventHandler oncanplay;
209 // attribute [NotEnumerable] EventListener oncanplaythrough; 209 // attribute [NotEnumerable] EventHandler oncanplaythrough;
210 // attribute [NotEnumerable] EventListener ondurationchange; 210 // attribute [NotEnumerable] EventHandler ondurationchange;
211 // attribute [NotEnumerable] EventListener onemptied; 211 // attribute [NotEnumerable] EventHandler onemptied;
212 // attribute [NotEnumerable] EventListener onended; 212 // attribute [NotEnumerable] EventHandler onended;
213 // attribute [NotEnumerable] EventListener onloadeddata; 213 // attribute [NotEnumerable] EventHandler onloadeddata;
214 // attribute [NotEnumerable] EventListener onloadedmetadata; 214 // attribute [NotEnumerable] EventHandler onloadedmetadata;
215 // attribute [NotEnumerable] EventListener onloadstart; 215 // attribute [NotEnumerable] EventHandler onloadstart;
216 // attribute [NotEnumerable] EventListener onpause; 216 // attribute [NotEnumerable] EventHandler onpause;
217 // attribute [NotEnumerable] EventListener onplay; 217 // attribute [NotEnumerable] EventHandler onplay;
218 // attribute [NotEnumerable] EventListener onplaying; 218 // attribute [NotEnumerable] EventHandler onplaying;
219 // attribute [NotEnumerable] EventListener onprogress; 219 // attribute [NotEnumerable] EventHandler onprogress;
220 // attribute [NotEnumerable] EventListener onratechange; 220 // attribute [NotEnumerable] EventHandler onratechange;
221 // attribute [NotEnumerable] EventListener onseeked; 221 // attribute [NotEnumerable] EventHandler onseeked;
222 // attribute [NotEnumerable] EventListener onseeking; 222 // attribute [NotEnumerable] EventHandler onseeking;
223 // attribute [NotEnumerable] EventListener onshow; 223 // attribute [NotEnumerable] EventHandler onshow;
224 // attribute [NotEnumerable] EventListener onstalled; 224 // attribute [NotEnumerable] EventHandler onstalled;
225 // attribute [NotEnumerable] EventListener onsuspend; 225 // attribute [NotEnumerable] EventHandler onsuspend;
226 // attribute [NotEnumerable] EventListener ontimeupdate; 226 // attribute [NotEnumerable] EventHandler ontimeupdate;
227 // attribute [NotEnumerable] EventListener onvolumechange; 227 // attribute [NotEnumerable] EventHandler onvolumechange;
228 // attribute [NotEnumerable] EventListener onwaiting; 228 // attribute [NotEnumerable] EventHandler onwaiting;
229 229
230 // WebKit extensions 230 // WebKit extensions
231 [NotEnumerable] attribute EventListener onbeforecut; 231 [NotEnumerable] attribute EventHandler onbeforecut;
232 [NotEnumerable] attribute EventListener oncut; 232 [NotEnumerable] attribute EventHandler oncut;
233 [NotEnumerable] attribute EventListener onbeforecopy; 233 [NotEnumerable] attribute EventHandler onbeforecopy;
234 [NotEnumerable] attribute EventListener oncopy; 234 [NotEnumerable] attribute EventHandler oncopy;
235 [NotEnumerable] attribute EventListener onbeforepaste; 235 [NotEnumerable] attribute EventHandler onbeforepaste;
236 [NotEnumerable] attribute EventListener onpaste; 236 [NotEnumerable] attribute EventHandler onpaste;
237 [NotEnumerable] attribute EventListener onreset; 237 [NotEnumerable] attribute EventHandler onreset;
238 [NotEnumerable] attribute EventListener onsearch; 238 [NotEnumerable] attribute EventHandler onsearch;
239 [NotEnumerable] attribute EventListener onselectstart; 239 [NotEnumerable] attribute EventHandler onselectstart;
240 [NotEnumerable] attribute EventListener onselectionchange; 240 [NotEnumerable] attribute EventHandler onselectionchange;
241 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchstart; 241 [NotEnumerable,EnabledAtRuntime=touch] attribute EventHandler ontouchstart;
242 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchmove; 242 [NotEnumerable,EnabledAtRuntime=touch] attribute EventHandler ontouchmove;
243 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchend; 243 [NotEnumerable,EnabledAtRuntime=touch] attribute EventHandler ontouchend;
244 [NotEnumerable,EnabledAtRuntime=touch] attribute EventListener ontouchcancel ; 244 [NotEnumerable,EnabledAtRuntime=touch] attribute EventHandler ontouchcancel;
245 [NotEnumerable] attribute EventListener onwebkitfullscreenchange; 245 [NotEnumerable] attribute EventHandler onwebkitfullscreenchange;
246 [NotEnumerable] attribute EventListener onwebkitfullscreenerror; 246 [NotEnumerable] attribute EventHandler onwebkitfullscreenerror;
247 [NotEnumerable] attribute EventListener onwebkitpointerlockchange; 247 [NotEnumerable] attribute EventHandler onwebkitpointerlockchange;
248 [NotEnumerable] attribute EventListener onwebkitpointerlockerror; 248 [NotEnumerable] attribute EventHandler onwebkitpointerlockerror;
249 [NotEnumerable, EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] attribute EventListener onsecuritypolicyviolation; 249 [NotEnumerable, EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] attribute EventHandler onsecuritypolicyviolation;
250 250
251 [EnabledAtRuntime=touch] Touch createTouch([Default=Undefined] optional Wind ow window, 251 [EnabledAtRuntime=touch] Touch createTouch([Default=Undefined] optional Wind ow window,
252 [Default=Undefined] optional Even tTarget target, 252 [Default=Undefined] optional Even tTarget target,
253 [Default=Undefined] optional long identifier, 253 [Default=Undefined] optional long identifier,
254 [Default=Undefined] optional long pageX, 254 [Default=Undefined] optional long pageX,
255 [Default=Undefined] optional long pageY, 255 [Default=Undefined] optional long pageY,
256 [Default=Undefined] optional long screenX, 256 [Default=Undefined] optional long screenX,
257 [Default=Undefined] optional long screenY, 257 [Default=Undefined] optional long screenY,
258 [Default=Undefined] optional long webkitRadiusX, 258 [Default=Undefined] optional long webkitRadiusX,
259 [Default=Undefined] optional long webkitRadiusY, 259 [Default=Undefined] optional long webkitRadiusY,
(...skipping 12 matching lines...) Expand all
272 readonly attribute boolean webkitHidden; 272 readonly attribute boolean webkitHidden;
273 273
274 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces 274 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces
275 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] readonly attrib ute SecurityPolicy securityPolicy; 275 [EnabledAtRuntime=experimentalContentSecurityPolicyFeatures] readonly attrib ute SecurityPolicy securityPolicy;
276 276
277 readonly attribute HTMLScriptElement currentScript; 277 readonly attribute HTMLScriptElement currentScript;
278 }; 278 };
279 279
280 Document implements ParentNode; 280 Document implements ParentNode;
281 281
OLDNEW
« no previous file with comments | « Source/core/css/FontLoader.idl ('k') | Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698