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

Unified Diff: modules/notifications/Notification.idl

Issue 155973006: Roll IDL to 1750 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 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/mediastream/RTCStatsCallback.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 cbce5d6a627b6ff0793dedf3aa700d551d9f95ba..1ef74c48660d89a81d87dace6c82f693b33d4c1b 100644
--- a/modules/notifications/Notification.idl
+++ b/modules/notifications/Notification.idl
@@ -33,23 +33,24 @@
ActiveDOMObject,
Constructor(DOMString title, [Default=Undefined] optional Dictionary options),
ConstructorCallWith=ExecutionContext,
- RuntimeEnabled=notifications
+ RuntimeEnabled=Notifications,
] interface Notification : EventTarget {
- void show();
- [Conditional=LEGACY_NOTIFICATIONS] void cancel();
- void close();
-
-
[CallWith=ExecutionContext] static readonly attribute DOMString permission;
[CallWith=ExecutionContext] static void requestPermission(optional NotificationPermissionCallback callback);
+ // FIXME: Implement the Notification.get() method.
+
+ attribute EventHandler 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;
- attribute DOMString tag;
+ readonly attribute DOMString title;
+ readonly attribute DOMString dir;
+ readonly attribute DOMString lang;
+ readonly attribute DOMString body;
+ readonly attribute DOMString tag;
+ readonly attribute DOMString icon;
+
+ void close();
};
« no previous file with comments | « modules/mediastream/RTCStatsCallback.idl ('k') | modules/notifications/NotificationCenter.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698