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

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

Issue 26117003: Drop NotEnumerable for the on* event handler IDL attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@svgtest
Patch Set: Do it for all on* attributes 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 | « LayoutTests/fast/dom/global-event-handlers-expected.txt ('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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 [RaisesException] NodeList querySelectorAll(DOMString selectors); 163 [RaisesException] NodeList querySelectorAll(DOMString selectors);
164 164
165 void webkitExitPointerLock(); 165 void webkitExitPointerLock();
166 readonly attribute Element webkitPointerLockElement; 166 readonly attribute Element webkitPointerLockElement;
167 167
168 [RuntimeEnabled=CSSRegions] WebKitNamedFlowCollection webkitGetNamedFlows(); 168 [RuntimeEnabled=CSSRegions] WebKitNamedFlowCollection webkitGetNamedFlows();
169 169
170 [RuntimeEnabled=FontLoadEvents] readonly attribute FontFaceSet fonts; 170 [RuntimeEnabled=FontLoadEvents] readonly attribute FontFaceSet fonts;
171 171
172 // Event handler DOM attributes 172 // Event handler DOM attributes
173 [NotEnumerable] attribute EventHandler onabort; 173 attribute EventHandler onabort;
174 [NotEnumerable] attribute EventHandler onblur; 174 attribute EventHandler onblur;
175 [NotEnumerable] attribute EventHandler onchange; 175 attribute EventHandler onchange;
176 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler onclick; 176 [ActivityLogging=Setter] attribute EventHandler onclick;
177 [NotEnumerable] attribute EventHandler oncontextmenu; 177 attribute EventHandler oncontextmenu;
178 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler ondblclick; 178 [ActivityLogging=Setter] attribute EventHandler ondblclick;
179 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler ondrag; 179 [ActivityLogging=Setter] attribute EventHandler ondrag;
180 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler ondragend; 180 [ActivityLogging=Setter] attribute EventHandler ondragend;
181 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler ondragenter; 181 [ActivityLogging=Setter] attribute EventHandler ondragenter;
182 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler ondragleave; 182 [ActivityLogging=Setter] attribute EventHandler ondragleave;
183 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler ondragover; 183 [ActivityLogging=Setter] attribute EventHandler ondragover;
184 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler ondragstart; 184 [ActivityLogging=Setter] attribute EventHandler ondragstart;
185 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler ondrop; 185 [ActivityLogging=Setter] attribute EventHandler ondrop;
186 [NotEnumerable] attribute EventHandler onerror; 186 attribute EventHandler onerror;
187 [NotEnumerable] attribute EventHandler onfocus; 187 attribute EventHandler onfocus;
188 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler oninput; 188 [ActivityLogging=Setter] attribute EventHandler oninput;
189 [NotEnumerable] attribute EventHandler oninvalid; 189 attribute EventHandler oninvalid;
190 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler onkeydown; 190 [ActivityLogging=Setter] attribute EventHandler onkeydown;
191 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler onkeypress; 191 [ActivityLogging=Setter] attribute EventHandler onkeypress;
192 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler onkeyup; 192 [ActivityLogging=Setter] attribute EventHandler onkeyup;
193 [NotEnumerable] attribute EventHandler onload; 193 attribute EventHandler onload;
194 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler onmousedown; 194 [ActivityLogging=Setter] attribute EventHandler onmousedown;
195 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler onmouseenter; 195 [ActivityLogging=Setter] attribute EventHandler onmouseenter;
196 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler onmouseleave; 196 [ActivityLogging=Setter] attribute EventHandler onmouseleave;
197 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler onmousemove; 197 [ActivityLogging=Setter] attribute EventHandler onmousemove;
198 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler onmouseout; 198 [ActivityLogging=Setter] attribute EventHandler onmouseout;
199 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler onmouseover; 199 [ActivityLogging=Setter] attribute EventHandler onmouseover;
200 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler onmouseup; 200 [ActivityLogging=Setter] attribute EventHandler onmouseup;
201 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler onmousewheel; // Deprecated in favor of onwheel. 201 [ActivityLogging=Setter] attribute EventHandler onmousewheel; // Deprecated in favor of onwheel.
202 [NotEnumerable, ActivityLogging=Setter] attribute EventHandler onwheel; 202 [ActivityLogging=Setter] attribute EventHandler onwheel;
203 [NotEnumerable] attribute EventHandler onreadystatechange; 203 attribute EventHandler onreadystatechange;
204 [NotEnumerable] attribute EventHandler onscroll; 204 attribute EventHandler onreset;
205 [NotEnumerable] attribute EventHandler onselect; 205 attribute EventHandler onscroll;
206 [NotEnumerable] attribute EventHandler onsubmit; 206 attribute EventHandler onselect;
207 attribute EventHandler onsubmit;
207 208
208 // attribute [NotEnumerable] EventHandler oncanplay; 209 attribute EventHandler onbeforecopy;
209 // attribute [NotEnumerable] EventHandler oncanplaythrough; 210 attribute EventHandler onbeforecut;
210 // attribute [NotEnumerable] EventHandler ondurationchange; 211 attribute EventHandler onbeforepaste;
211 // attribute [NotEnumerable] EventHandler onemptied; 212 attribute EventHandler oncopy;
212 // attribute [NotEnumerable] EventHandler onended; 213 attribute EventHandler oncut;
213 // attribute [NotEnumerable] EventHandler onloadeddata; 214 attribute EventHandler onpaste;
214 // attribute [NotEnumerable] EventHandler onloadedmetadata; 215 attribute EventHandler onsearch;
215 // attribute [NotEnumerable] EventHandler onloadstart; 216 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
216 // attribute [NotEnumerable] EventHandler onpause; 217 attribute EventHandler onselectionchange;
217 // attribute [NotEnumerable] EventHandler onplay; 218 attribute EventHandler onselectstart;
218 // attribute [NotEnumerable] EventHandler onplaying; 219 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
219 // attribute [NotEnumerable] EventHandler onprogress; 220 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
220 // attribute [NotEnumerable] EventHandler onratechange; 221 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
221 // attribute [NotEnumerable] EventHandler onseeked; 222 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
222 // attribute [NotEnumerable] EventHandler onseeking; 223 attribute EventHandler onwebkitfullscreenchange;
223 // attribute [NotEnumerable] EventHandler onshow; 224 attribute EventHandler onwebkitfullscreenerror;
224 // attribute [NotEnumerable] EventHandler onstalled; 225 attribute EventHandler onwebkitpointerlockchange;
225 // attribute [NotEnumerable] EventHandler onsuspend; 226 attribute EventHandler onwebkitpointerlockerror;
226 // attribute [NotEnumerable] EventHandler ontimeupdate;
227 // attribute [NotEnumerable] EventHandler onvolumechange;
228 // attribute [NotEnumerable] EventHandler onwaiting;
229
230 // WebKit extensions
231 [NotEnumerable] attribute EventHandler onbeforecut;
232 [NotEnumerable] attribute EventHandler oncut;
233 [NotEnumerable] attribute EventHandler onbeforecopy;
234 [NotEnumerable] attribute EventHandler oncopy;
235 [NotEnumerable] attribute EventHandler onbeforepaste;
236 [NotEnumerable] attribute EventHandler onpaste;
237 [NotEnumerable] attribute EventHandler onreset;
238 [NotEnumerable] attribute EventHandler onsearch;
239 [NotEnumerable] attribute EventHandler onselectstart;
240 [NotEnumerable] attribute EventHandler onselectionchange;
241 [NotEnumerable, RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
242 [NotEnumerable, RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
243 [NotEnumerable, RuntimeEnabled=Touch] attribute EventHandler ontouchend;
244 [NotEnumerable, RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
245 [NotEnumerable] attribute EventHandler onwebkitfullscreenchange;
246 [NotEnumerable] attribute EventHandler onwebkitfullscreenerror;
247 [NotEnumerable] attribute EventHandler onwebkitpointerlockchange;
248 [NotEnumerable] attribute EventHandler onwebkitpointerlockerror;
249 [NotEnumerable, RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] at tribute EventHandler onsecuritypolicyviolation;
250 227
251 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window window, 228 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window window,
252 [Default=Undefined] optional Even tTarget target, 229 [Default=Undefined] optional Even tTarget target,
253 [Default=Undefined] optional long identifier, 230 [Default=Undefined] optional long identifier,
254 [Default=Undefined] optional long pageX, 231 [Default=Undefined] optional long pageX,
255 [Default=Undefined] optional long pageY, 232 [Default=Undefined] optional long pageY,
256 [Default=Undefined] optional long screenX, 233 [Default=Undefined] optional long screenX,
257 [Default=Undefined] optional long screenY, 234 [Default=Undefined] optional long screenY,
258 [Default=Undefined] optional long webkitRadiusX, 235 [Default=Undefined] optional long webkitRadiusX,
259 [Default=Undefined] optional long webkitRadiusY, 236 [Default=Undefined] optional long webkitRadiusY,
(...skipping 12 matching lines...) Expand all
272 readonly attribute boolean webkitHidden; 249 readonly attribute boolean webkitHidden;
273 250
274 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces 251 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces
275 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] readonly attribut e SecurityPolicy securityPolicy; 252 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] readonly attribut e SecurityPolicy securityPolicy;
276 253
277 readonly attribute HTMLScriptElement currentScript; 254 readonly attribute HTMLScriptElement currentScript;
278 }; 255 };
279 256
280 Document implements ParentNode; 257 Document implements ParentNode;
281 258
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/global-event-handlers-expected.txt ('k') | Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698