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

Unified Diff: modules/notifications/Notification.idl

Issue 126143003: Update IDL to Chrome 32 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 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/mediastream/URLMediaStream.idl ('k') | modules/notifications/NotificationCenter.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 75a477996b41deeae351156c31ec6873c2fc5a6d..cbce5d6a627b6ff0793dedf3aa700d551d9f95ba 100644
--- a/modules/notifications/Notification.idl
+++ b/modules/notifications/Notification.idl
@@ -32,16 +32,16 @@
[
ActiveDOMObject,
Constructor(DOMString title, [Default=Undefined] optional Dictionary options),
- ConstructorCallWith=ScriptExecutionContext,
- EnabledAtRuntime=notifications
+ ConstructorCallWith=ExecutionContext,
+ RuntimeEnabled=notifications
] interface Notification : EventTarget {
void show();
[Conditional=LEGACY_NOTIFICATIONS] void cancel();
void close();
- [CallWith=ScriptExecutionContext] static readonly attribute DOMString permission;
- [CallWith=ScriptExecutionContext] static void requestPermission(optional NotificationPermissionCallback callback);
+ [CallWith=ExecutionContext] static readonly attribute DOMString permission;
+ [CallWith=ExecutionContext] static void requestPermission(optional NotificationPermissionCallback callback);
attribute EventHandler onshow;
[Conditional=LEGACY_NOTIFICATIONS] attribute EventHandler ondisplay;
« no previous file with comments | « modules/mediastream/URLMediaStream.idl ('k') | modules/notifications/NotificationCenter.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698