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

Unified Diff: Source/modules/notifications/Notification.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/modules/mediastream/RTCPeerConnection.idl ('k') | Source/modules/speech/SpeechRecognition.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/notifications/Notification.idl
diff --git a/Source/modules/notifications/Notification.idl b/Source/modules/notifications/Notification.idl
index a8dd30a673384c4780d1af2142a6cc946808784f..24d25cc889d8e489c7ff2f4af86f87bc7a6b1995 100644
--- a/Source/modules/notifications/Notification.idl
+++ b/Source/modules/notifications/Notification.idl
@@ -43,11 +43,11 @@
[CallWith=ScriptExecutionContext, Conditional=NOTIFICATIONS] static readonly attribute DOMString permission;
[CallWith=ScriptExecutionContext, Conditional=NOTIFICATIONS] static void requestPermission(optional NotificationPermissionCallback callback);
- attribute EventListener onshow;
- [Conditional=LEGACY_NOTIFICATIONS] attribute EventListener ondisplay;
- attribute EventListener onerror;
- attribute EventListener onclose;
- attribute EventListener onclick;
+ attribute EventHandler onshow;
+ [Conditional=LEGACY_NOTIFICATIONS] attribute EventHandler ondisplay;
+ attribute EventHandler onerror;
+ attribute EventHandler onclose;
+ attribute EventHandler onclick;
[Conditional=LEGACY_NOTIFICATIONS] attribute DOMString dir;
[Conditional=LEGACY_NOTIFICATIONS] attribute DOMString replaceId;
« no previous file with comments | « Source/modules/mediastream/RTCPeerConnection.idl ('k') | Source/modules/speech/SpeechRecognition.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698