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

Unified Diff: Source/core/dom/Element.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Document.idl ('k') | Source/core/dom/MessagePort.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.idl
diff --git a/Source/core/dom/Element.idl b/Source/core/dom/Element.idl
index cc9631f404b681a8a3d3372586c3df7c73d64032..a21e3442891052ec596cded70d997a7c0835bd30 100644
--- a/Source/core/dom/Element.idl
+++ b/Source/core/dom/Element.idl
@@ -133,78 +133,78 @@
[EnabledAtRuntime=cssRegions] sequence<Range> webkitGetRegionFlowRanges();
// Event handler DOM attributes
- [NotEnumerable, PerWorldBindings] attribute EventListener onabort;
- [NotEnumerable, PerWorldBindings] attribute EventListener onblur;
- [NotEnumerable, PerWorldBindings] attribute EventListener onchange;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener onclick;
- [NotEnumerable, PerWorldBindings] attribute EventListener oncontextmenu;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener ondblclick;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener ondrag;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener ondragend;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener ondragenter;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener ondragleave;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener ondragover;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener ondragstart;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener ondrop;
- [NotEnumerable, PerWorldBindings] attribute EventListener onerror;
- [NotEnumerable, PerWorldBindings] attribute EventListener onfocus;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener oninput;
- [NotEnumerable, PerWorldBindings] attribute EventListener oninvalid;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener onkeydown;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener onkeypress;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener onkeyup;
- [NotEnumerable, PerWorldBindings] attribute EventListener onload;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener onmousedown;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener onmouseenter;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener onmouseleave;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener onmousemove;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener onmouseout;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener onmouseover;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener onmouseup;
- [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventListener onmousewheel;
- [NotEnumerable, PerWorldBindings] attribute EventListener onscroll;
- [NotEnumerable, PerWorldBindings] attribute EventListener onselect;
- [NotEnumerable, PerWorldBindings] attribute EventListener onsubmit;
-
- // attribute [NotEnumerable] EventListener oncanplay;
- // attribute [NotEnumerable] EventListener oncanplaythrough;
- // attribute [NotEnumerable] EventListener ondurationchange;
- // attribute [NotEnumerable] EventListener onemptied;
- // attribute [NotEnumerable] EventListener onended;
- // attribute [NotEnumerable] EventListener onloadeddata;
- // attribute [NotEnumerable] EventListener onloadedmetadata;
- // attribute [NotEnumerable] EventListener onloadstart;
- // attribute [NotEnumerable] EventListener onpause;
- // attribute [NotEnumerable] EventListener onplay;
- // attribute [NotEnumerable] EventListener onplaying;
- // attribute [NotEnumerable] EventListener onprogress;
- // attribute [NotEnumerable] EventListener onratechange;
- // attribute [NotEnumerable] EventListener onreadystatechange;
- // attribute [NotEnumerable] EventListener onseeked;
- // attribute [NotEnumerable] EventListener onseeking;
- // attribute [NotEnumerable] EventListener onshow;
- // attribute [NotEnumerable] EventListener onstalled;
- // attribute [NotEnumerable] EventListener onsuspend;
- // attribute [NotEnumerable] EventListener ontimeupdate;
- // attribute [NotEnumerable] EventListener onvolumechange;
- // attribute [NotEnumerable] EventListener onwaiting;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onabort;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onblur;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onchange;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler onclick;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler oncontextmenu;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler ondblclick;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler ondrag;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler ondragend;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler ondragenter;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler ondragleave;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler ondragover;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler ondragstart;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler ondrop;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onerror;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onfocus;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler oninput;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler oninvalid;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler onkeydown;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler onkeypress;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler onkeyup;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onload;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler onmousedown;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler onmouseenter;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler onmouseleave;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler onmousemove;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler onmouseout;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler onmouseover;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler onmouseup;
+ [NotEnumerable, PerWorldBindings, ActivityLog=SetterForIsolatedWorlds] attribute EventHandler onmousewheel;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onscroll;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onselect;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onsubmit;
+
+ // attribute [NotEnumerable] EventHandler oncanplay;
+ // attribute [NotEnumerable] EventHandler oncanplaythrough;
+ // attribute [NotEnumerable] EventHandler ondurationchange;
+ // attribute [NotEnumerable] EventHandler onemptied;
+ // attribute [NotEnumerable] EventHandler onended;
+ // attribute [NotEnumerable] EventHandler onloadeddata;
+ // attribute [NotEnumerable] EventHandler onloadedmetadata;
+ // attribute [NotEnumerable] EventHandler onloadstart;
+ // attribute [NotEnumerable] EventHandler onpause;
+ // attribute [NotEnumerable] EventHandler onplay;
+ // attribute [NotEnumerable] EventHandler onplaying;
+ // attribute [NotEnumerable] EventHandler onprogress;
+ // attribute [NotEnumerable] EventHandler onratechange;
+ // attribute [NotEnumerable] EventHandler onreadystatechange;
+ // attribute [NotEnumerable] EventHandler onseeked;
+ // attribute [NotEnumerable] EventHandler onseeking;
+ // attribute [NotEnumerable] EventHandler onshow;
+ // attribute [NotEnumerable] EventHandler onstalled;
+ // attribute [NotEnumerable] EventHandler onsuspend;
+ // attribute [NotEnumerable] EventHandler ontimeupdate;
+ // attribute [NotEnumerable] EventHandler onvolumechange;
+ // attribute [NotEnumerable] EventHandler onwaiting;
// WebKit extensions
- [NotEnumerable, PerWorldBindings] attribute EventListener onbeforecut;
- [NotEnumerable, PerWorldBindings] attribute EventListener oncut;
- [NotEnumerable, PerWorldBindings] attribute EventListener onbeforecopy;
- [NotEnumerable, PerWorldBindings] attribute EventListener oncopy;
- [NotEnumerable, PerWorldBindings] attribute EventListener onbeforepaste;
- [NotEnumerable, PerWorldBindings] attribute EventListener onpaste;
- [NotEnumerable, PerWorldBindings] attribute EventListener onreset;
- [NotEnumerable, PerWorldBindings] attribute EventListener onsearch;
- [NotEnumerable, PerWorldBindings] attribute EventListener onselectstart;
- [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventListener ontouchstart;
- [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventListener ontouchmove;
- [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventListener ontouchend;
- [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventListener ontouchcancel;
- [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreenchange;
- [NotEnumerable, PerWorldBindings] attribute EventListener onwebkitfullscreenerror;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforecut;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler oncut;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforecopy;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler oncopy;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onbeforepaste;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onpaste;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onreset;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onsearch;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onselectstart;
+ [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHandler ontouchstart;
+ [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHandler ontouchmove;
+ [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHandler ontouchend;
+ [NotEnumerable, EnabledAtRuntime=touch, PerWorldBindings] attribute EventHandler ontouchcancel;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onwebkitfullscreenchange;
+ [NotEnumerable, PerWorldBindings] attribute EventHandler onwebkitfullscreenerror;
};
Element implements ParentNode;
« no previous file with comments | « Source/core/dom/Document.idl ('k') | Source/core/dom/MessagePort.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698