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

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

Issue 1309273007: Add requireInteraction to Notification & NotificationOptions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@constructor
Patch Set: Add to NotificationDataTest.cpp Created 5 years, 4 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/NotificationOptions.idl
diff --git a/Source/modules/notifications/NotificationOptions.idl b/Source/modules/notifications/NotificationOptions.idl
index aeeef61f70791863ca780c571c97d1b45178ae14..cfd399d4c1c833e985896e5b1880f9eb3eecc462 100644
--- a/Source/modules/notifications/NotificationOptions.idl
+++ b/Source/modules/notifications/NotificationOptions.idl
@@ -19,6 +19,7 @@ dictionary NotificationOptions {
// TODO(sh919.park): vibrate should be ([Clamp] unsigned long or sequence<unsigned long>)
(unsigned long or sequence<unsigned long>) vibrate;
boolean silent = false;
+ [RuntimeEnabled=NotificationExperimental] boolean requireInteraction = false;
any data = null;
[RuntimeEnabled=NotificationExperimental] sequence<NotificationAction> actions = [];
};
« no previous file with comments | « Source/modules/notifications/NotificationDataTest.cpp ('k') | public/platform/modules/notifications/WebNotificationData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698