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

Unified Diff: third_party/WebCore/notifications/Notification.idl

Issue 10381128: Roll IDL to multivm@516 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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
Index: third_party/WebCore/notifications/Notification.idl
diff --git a/third_party/WebCore/notifications/Notification.idl b/third_party/WebCore/notifications/Notification.idl
index 079f13eca31836b1e42b3945247f14d9873bdfab..da2eb7f245f9f56c6eb3b755a8d6665dcb4be33f 100644
--- a/third_party/WebCore/notifications/Notification.idl
+++ b/third_party/WebCore/notifications/Notification.idl
@@ -50,6 +50,12 @@ module threads {
void close();
#endif
+
+#if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS
+ [CallWith=ScriptExecutionContext] static DOMString permissionLevel();
+ [Custom] static void requestPermission(in NotificationPermissionCallback callback);
+#endif
+
attribute EventListener onshow;
#if defined(ENABLE_LEGACY_NOTIFICATIONS) && ENABLE_LEGACY_NOTIFICATIONS
attribute EventListener ondisplay;
« no previous file with comments | « third_party/WebCore/notifications/DOMWindowNotifications.idl ('k') | third_party/WebCore/notifications/NotificationCenter.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698