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

Side by Side Diff: Source/core/dom/Document.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/core.gypi ('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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 [RaisesException] Element querySelector(DOMString selectors); 162 [RaisesException] Element querySelector(DOMString selectors);
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 attributes
173 attribute EventHandler onabort;
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 [ActivityLogging=Setter] attribute EventHandler oninput;
197 attribute EventHandler oninvalid;
198 [ActivityLogging=Setter] attribute EventHandler onkeydown;
199 [ActivityLogging=Setter] attribute EventHandler onkeypress;
200 [ActivityLogging=Setter] attribute EventHandler onkeyup;
201 attribute EventHandler onload;
202 attribute EventHandler onloadeddata;
203 attribute EventHandler onloadedmetadata;
204 attribute EventHandler onloadstart;
205 [ActivityLogging=Setter] attribute EventHandler onmousedown;
206 [ActivityLogging=Setter] attribute EventHandler onmouseenter;
207 [ActivityLogging=Setter] attribute EventHandler onmouseleave;
208 [ActivityLogging=Setter] attribute EventHandler onmousemove;
209 [ActivityLogging=Setter] attribute EventHandler onmouseout;
210 [ActivityLogging=Setter] attribute EventHandler onmouseover;
211 [ActivityLogging=Setter] attribute EventHandler onmouseup;
212 [ActivityLogging=Setter] attribute EventHandler onmousewheel; // Deprecated in favor of onwheel.
213 [ActivityLogging=Setter] attribute EventHandler onwheel;
214 attribute EventHandler onpause;
215 attribute EventHandler onplay;
216 attribute EventHandler onplaying;
217 attribute EventHandler onprogress;
218 attribute EventHandler onratechange;
219 attribute EventHandler onreadystatechange;
220 attribute EventHandler onreset;
221 attribute EventHandler onscroll;
222 attribute EventHandler onseeked;
223 attribute EventHandler onseeking;
224 attribute EventHandler onselect;
225 attribute EventHandler onshow;
226 attribute EventHandler onstalled;
227 attribute EventHandler onsubmit;
228 attribute EventHandler onsuspend;
229 attribute EventHandler ontimeupdate;
230 attribute EventHandler onvolumechange;
231 attribute EventHandler onwaiting;
232
233 attribute EventHandler onbeforecopy; 173 attribute EventHandler onbeforecopy;
234 attribute EventHandler onbeforecut; 174 attribute EventHandler onbeforecut;
235 attribute EventHandler onbeforepaste; 175 attribute EventHandler onbeforepaste;
236 attribute EventHandler oncopy; 176 attribute EventHandler oncopy;
237 attribute EventHandler oncut; 177 attribute EventHandler oncut;
238 attribute EventHandler onpaste; 178 attribute EventHandler onpaste;
179 attribute EventHandler onreadystatechange;
239 attribute EventHandler onsearch; 180 attribute EventHandler onsearch;
240 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation; 181 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] attribute EventHa ndler onsecuritypolicyviolation;
241 attribute EventHandler onselectionchange; 182 attribute EventHandler onselectionchange;
242 attribute EventHandler onselectstart; 183 attribute EventHandler onselectstart;
243 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; 184 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel;
244 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; 185 [RuntimeEnabled=Touch] attribute EventHandler ontouchend;
245 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; 186 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove;
246 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; 187 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart;
247 attribute EventHandler onwebkitfullscreenchange; 188 attribute EventHandler onwebkitfullscreenchange;
248 attribute EventHandler onwebkitfullscreenerror; 189 attribute EventHandler onwebkitfullscreenerror;
249 attribute EventHandler onwebkitpointerlockchange; 190 attribute EventHandler onwebkitpointerlockchange;
250 attribute EventHandler onwebkitpointerlockerror; 191 attribute EventHandler onwebkitpointerlockerror;
192 [ActivityLogging=Setter] attribute EventHandler onwheel;
251 193
252 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window window, 194 [RuntimeEnabled=Touch] Touch createTouch([Default=Undefined] optional Window window,
253 [Default=Undefined] optional Even tTarget target, 195 [Default=Undefined] optional Even tTarget target,
254 [Default=Undefined] optional long identifier, 196 [Default=Undefined] optional long identifier,
255 [Default=Undefined] optional long pageX, 197 [Default=Undefined] optional long pageX,
256 [Default=Undefined] optional long pageY, 198 [Default=Undefined] optional long pageY,
257 [Default=Undefined] optional long screenX, 199 [Default=Undefined] optional long screenX,
258 [Default=Undefined] optional long screenY, 200 [Default=Undefined] optional long screenY,
259 [Default=Undefined] optional long webkitRadiusX, 201 [Default=Undefined] optional long webkitRadiusX,
260 [Default=Undefined] optional long webkitRadiusY, 202 [Default=Undefined] optional long webkitRadiusY,
(...skipping 10 matching lines...) Expand all
271 // Page visibility API. 213 // Page visibility API.
272 readonly attribute DOMString webkitVisibilityState; 214 readonly attribute DOMString webkitVisibilityState;
273 readonly attribute boolean webkitHidden; 215 readonly attribute boolean webkitHidden;
274 216
275 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces 217 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi le/tip/csp-specification.dev.html#script-interfaces
276 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] readonly attribut e SecurityPolicy securityPolicy; 218 [RuntimeEnabled=ExperimentalContentSecurityPolicyFeatures] readonly attribut e SecurityPolicy securityPolicy;
277 219
278 readonly attribute HTMLScriptElement currentScript; 220 readonly attribute HTMLScriptElement currentScript;
279 }; 221 };
280 222
223 Document implements GlobalEventHandlers;
281 Document implements ParentNode; 224 Document implements ParentNode;
282
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/Element.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698