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

Unified Diff: Source/modules/notifications/Notification.idl

Issue 1263043002: Add NotificationOptions.actions so websites can provide buttons (blink) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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: Source/modules/notifications/Notification.idl
diff --git a/Source/modules/notifications/Notification.idl b/Source/modules/notifications/Notification.idl
index 0ad1096f9b3577e8cbf72eccec2bf20c9eec53bb..4435e926299c3692b53ddbfb5d0d717474fdb6a1 100644
--- a/Source/modules/notifications/Notification.idl
+++ b/Source/modules/notifications/Notification.idl
@@ -56,9 +56,13 @@
readonly attribute DOMString tag;
readonly attribute DOMString icon;
+ // TODO(johnme): Make this a FrozenArray instead before shipping.
Peter Beverloo 2015/07/30 16:24:08 Bug?
johnme 2015/07/31 15:10:10 No, but removed and tweaked TODO below since exper
[RuntimeEnabled=NotificationExperimental] readonly attribute sequence<unsigned long>? vibrate;
readonly attribute boolean silent;
[CallWith=ScriptState] readonly attribute any data;
+ // TODO(johnme): Make this a FrozenArray instead before shipping.
+ [RuntimeEnabled=NotificationExperimental] readonly attribute sequence<NotificationAction> actions;
+
[MeasureAs=NotificationClosed] void close();
};

Powered by Google App Engine
This is Rietveld 408576698