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

Unified Diff: Source/core/html/HTMLBodyElement.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/fileapi/FileReader.idl ('k') | Source/core/html/HTMLFormElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLBodyElement.idl
diff --git a/Source/core/html/HTMLBodyElement.idl b/Source/core/html/HTMLBodyElement.idl
index f65097a4c51e19e211d6657040a7205ec80976eb..dfbd9071cd694961bd49e8013bce29b17ac1d154 100644
--- a/Source/core/html/HTMLBodyElement.idl
+++ b/Source/core/html/HTMLBodyElement.idl
@@ -27,28 +27,28 @@ interface HTMLBodyElement : HTMLElement {
[Reflect] attribute DOMString vLink;
// Event handler attributes
- [NotEnumerable] attribute EventListener onbeforeunload;
- [NotEnumerable] attribute EventListener onhashchange;
- [NotEnumerable] attribute EventListener onmessage;
- [NotEnumerable] attribute EventListener onoffline;
- [NotEnumerable] attribute EventListener ononline;
- [NotEnumerable] attribute EventListener onpopstate;
- [NotEnumerable] attribute EventListener onresize;
- [NotEnumerable] attribute EventListener onstorage;
- [NotEnumerable] attribute EventListener onunload;
+ [NotEnumerable] attribute EventHandler onbeforeunload;
+ [NotEnumerable] attribute EventHandler onhashchange;
+ [NotEnumerable] attribute EventHandler onmessage;
+ [NotEnumerable] attribute EventHandler onoffline;
+ [NotEnumerable] attribute EventHandler ononline;
+ [NotEnumerable] attribute EventHandler onpopstate;
+ [NotEnumerable] attribute EventHandler onresize;
+ [NotEnumerable] attribute EventHandler onstorage;
+ [NotEnumerable] attribute EventHandler onunload;
- [Conditional=ORIENTATION_EVENTS, NotEnumerable] attribute EventListener onorientationchange;
+ [Conditional=ORIENTATION_EVENTS, NotEnumerable] attribute EventHandler onorientationchange;
// Overrides of Element attributes (with different implementation in bindings).
- [NotEnumerable] attribute EventListener onblur;
- [NotEnumerable] attribute EventListener onerror;
- [NotEnumerable] attribute EventListener onfocus;
- [NotEnumerable] attribute EventListener onload;
+ [NotEnumerable] attribute EventHandler onblur;
+ [NotEnumerable] attribute EventHandler onerror;
+ [NotEnumerable] attribute EventHandler onfocus;
+ [NotEnumerable] attribute EventHandler onload;
// Not implemented yet.
- // attribute [NotEnumerable] EventListener onafterprint;
- // attribute [NotEnumerable] EventListener onbeforeprint;
- // attribute [NotEnumerable] EventListener onredo;
- // attribute [NotEnumerable] EventListener onundo;
+ // attribute [NotEnumerable] EventHandler onafterprint;
+ // attribute [NotEnumerable] EventHandler onbeforeprint;
+ // attribute [NotEnumerable] EventHandler onredo;
+ // attribute [NotEnumerable] EventHandler onundo;
};
« no previous file with comments | « Source/core/fileapi/FileReader.idl ('k') | Source/core/html/HTMLFormElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698