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

Unified Diff: modules/notifications/Notification.idl

Issue 37053003: Roll IDL to multivm@1467 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 2 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/mediastream/RTCPeerConnection.idl ('k') | modules/notifications/NotificationPermissionCallback.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 24d25cc889d8e489c7ff2f4af86f87bc7a6b1995..75a477996b41deeae351156c31ec6873c2fc5a6d 100644
--- a/modules/notifications/Notification.idl
+++ b/modules/notifications/Notification.idl
@@ -30,18 +30,18 @@
*/
[
- Conditional=NOTIFICATIONS|LEGACY_NOTIFICATIONS,
ActiveDOMObject,
Constructor(DOMString title, [Default=Undefined] optional Dictionary options),
ConstructorCallWith=ScriptExecutionContext,
+ EnabledAtRuntime=notifications
] interface Notification : EventTarget {
void show();
[Conditional=LEGACY_NOTIFICATIONS] void cancel();
- [Conditional=NOTIFICATIONS] void close();
+ void close();
- [CallWith=ScriptExecutionContext, Conditional=NOTIFICATIONS] static readonly attribute DOMString permission;
- [CallWith=ScriptExecutionContext, Conditional=NOTIFICATIONS] static void requestPermission(optional NotificationPermissionCallback callback);
+ [CallWith=ScriptExecutionContext] static readonly attribute DOMString permission;
+ [CallWith=ScriptExecutionContext] static void requestPermission(optional NotificationPermissionCallback callback);
attribute EventHandler onshow;
[Conditional=LEGACY_NOTIFICATIONS] attribute EventHandler ondisplay;
@@ -51,6 +51,5 @@
[Conditional=LEGACY_NOTIFICATIONS] attribute DOMString dir;
[Conditional=LEGACY_NOTIFICATIONS] attribute DOMString replaceId;
- [Conditional=NOTIFICATIONS] attribute DOMString tag;
+ attribute DOMString tag;
};
-
« no previous file with comments | « modules/mediastream/RTCPeerConnection.idl ('k') | modules/notifications/NotificationPermissionCallback.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698