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

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: 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
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 onscroll;
205 [NotEnumerable] attribute EventHandler onselect; 205 attribute EventHandler onselect;
206 [NotEnumerable] attribute EventHandler onsubmit; 206 attribute EventHandler onsubmit;
207
208 // attribute [NotEnumerable] EventHandler oncanplay;
209 // attribute [NotEnumerable] EventHandler oncanplaythrough;
210 // attribute [NotEnumerable] EventHandler ondurationchange;
211 // attribute [NotEnumerable] EventHandler onemptied;
212 // attribute [NotEnumerable] EventHandler onended;
213 // attribute [NotEnumerable] EventHandler onloadeddata;
214 // attribute [NotEnumerable] EventHandler onloadedmetadata;
215 // attribute [NotEnumerable] EventHandler onloadstart;
216 // attribute [NotEnumerable] EventHandler onpause;
217 // attribute [NotEnumerable] EventHandler onplay;
218 // attribute [NotEnumerable] EventHandler onplaying;
219 // attribute [NotEnumerable] EventHandler onprogress;
220 // attribute [NotEnumerable] EventHandler onratechange;
221 // attribute [NotEnumerable] EventHandler onseeked;
222 // attribute [NotEnumerable] EventHandler onseeking;
223 // attribute [NotEnumerable] EventHandler onshow;
224 // attribute [NotEnumerable] EventHandler onstalled;
225 // attribute [NotEnumerable] EventHandler onsuspend;
226 // attribute [NotEnumerable] EventHandler ontimeupdate;
227 // attribute [NotEnumerable] EventHandler onvolumechange;
228 // attribute [NotEnumerable] EventHandler onwaiting;
229 207
230 // WebKit extensions 208 // WebKit extensions
abarth-chromium 2013/10/15 16:58:52 I would have done these too and removed this comme
philipj_slow 2013/10/15 20:14:10 Done.
231 [NotEnumerable] attribute EventHandler onbeforecut; 209 [NotEnumerable] attribute EventHandler onbeforecut;
232 [NotEnumerable] attribute EventHandler oncut; 210 [NotEnumerable] attribute EventHandler oncut;
233 [NotEnumerable] attribute EventHandler onbeforecopy; 211 [NotEnumerable] attribute EventHandler onbeforecopy;
234 [NotEnumerable] attribute EventHandler oncopy; 212 [NotEnumerable] attribute EventHandler oncopy;
235 [NotEnumerable] attribute EventHandler onbeforepaste; 213 [NotEnumerable] attribute EventHandler onbeforepaste;
236 [NotEnumerable] attribute EventHandler onpaste; 214 [NotEnumerable] attribute EventHandler onpaste;
237 [NotEnumerable] attribute EventHandler onreset; 215 [NotEnumerable] attribute EventHandler onreset;
238 [NotEnumerable] attribute EventHandler onsearch; 216 [NotEnumerable] attribute EventHandler onsearch;
239 [NotEnumerable] attribute EventHandler onselectstart; 217 [NotEnumerable] attribute EventHandler onselectstart;
240 [NotEnumerable] attribute EventHandler onselectionchange; 218 [NotEnumerable] attribute EventHandler onselectionchange;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 readonly attribute boolean webkitHidden; 250 readonly attribute boolean webkitHidden;
273 251
274 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces 252 // 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; 253 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] readonly attribut e SecurityPolicy securityPolicy;
276 254
277 readonly attribute HTMLScriptElement currentScript; 255 readonly attribute HTMLScriptElement currentScript;
278 }; 256 };
279 257
280 Document implements ParentNode; 258 Document implements ParentNode;
281 259
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698