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

Unified Diff: modules/notifications/Notification.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 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 | « modules/notifications/GetNotificationOptions.idl ('k') | modules/notifications/NotificationEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/notifications/Notification.idl
diff --git a/modules/notifications/Notification.idl b/modules/notifications/Notification.idl
index ebf279d8c800039b42191a581e02964228fad5c7..0ad1096f9b3577e8cbf72eccec2bf20c9eec53bb 100644
--- a/modules/notifications/Notification.idl
+++ b/modules/notifications/Notification.idl
@@ -34,7 +34,9 @@
ActiveDOMObject,
Constructor(DOMString title, optional NotificationOptions options),
ConstructorCallWith=ExecutionContext,
+ Exposed=(Window,Worker),
MeasureAs=NotificationCreated,
+ RaisesException=Constructor,
RuntimeEnabled=Notifications,
] interface Notification : EventTarget {
[CallWith=ExecutionContext, MeasureAs=NotificationPermission] static readonly attribute DOMString permission;
@@ -43,9 +45,9 @@
// FIXME: Implement the Notification.get() method.
attribute EventHandler onclick;
- attribute EventHandler onshow;
+ [MeasureAs=NotificationShowEvent] attribute EventHandler onshow;
attribute EventHandler onerror;
- attribute EventHandler onclose;
+ [MeasureAs=NotificationCloseEvent] attribute EventHandler onclose;
readonly attribute DOMString title;
readonly attribute DOMString dir;
@@ -54,5 +56,9 @@
readonly attribute DOMString tag;
readonly attribute DOMString icon;
+ [RuntimeEnabled=NotificationExperimental] readonly attribute sequence<unsigned long>? vibrate;
+ readonly attribute boolean silent;
+ [CallWith=ScriptState] readonly attribute any data;
+
[MeasureAs=NotificationClosed] void close();
};
« no previous file with comments | « modules/notifications/GetNotificationOptions.idl ('k') | modules/notifications/NotificationEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698