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

Unified Diff: modules/notifications/Notification.idl

Issue 959933002: Move IDLs to 39 roll (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 5 years, 10 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/netinfo/NetworkInformation.idl ('k') | modules/notifications/NotificationOptions.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 51a26d91389b216800714bb469b2a94f95d9dcf5..ebf279d8c800039b42191a581e02964228fad5c7 100644
--- a/modules/notifications/Notification.idl
+++ b/modules/notifications/Notification.idl
@@ -32,12 +32,13 @@
[
GarbageCollected,
ActiveDOMObject,
- Constructor(DOMString title, [Default=Undefined] optional Dictionary options),
+ Constructor(DOMString title, optional NotificationOptions options),
ConstructorCallWith=ExecutionContext,
+ MeasureAs=NotificationCreated,
RuntimeEnabled=Notifications,
] interface Notification : EventTarget {
- [CallWith=ExecutionContext] static readonly attribute DOMString permission;
- [CallWith=ExecutionContext] static void requestPermission(optional NotificationPermissionCallback callback);
+ [CallWith=ExecutionContext, MeasureAs=NotificationPermission] static readonly attribute DOMString permission;
+ [CallWith=ExecutionContext, MeasureAs=NotificationPermissionRequested] static void requestPermission(optional NotificationPermissionCallback callback);
// FIXME: Implement the Notification.get() method.
@@ -53,5 +54,5 @@
readonly attribute DOMString tag;
readonly attribute DOMString icon;
- void close();
+ [MeasureAs=NotificationClosed] void close();
};
« no previous file with comments | « modules/netinfo/NetworkInformation.idl ('k') | modules/notifications/NotificationOptions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698