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

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

Issue 1042513002: Add the vibrate attribute to the Notification object (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 716ce68f4ea9ae8c1bc3eadbb29dbcf4536f7859..a51fb0415d26bbe0b81c8ad92b92e26713142246 100644
--- a/Source/modules/notifications/NotificationOptions.idl
+++ b/Source/modules/notifications/NotificationOptions.idl
@@ -16,6 +16,8 @@ dictionary NotificationOptions {
DOMString body = "";
DOMString tag = "";
DOMString icon;
+ // TODO(sh919.park): vibrate should be ([Clamp] unsigned long or sequence<unsigned long>)
+ [RuntimeEnabled=NotificationExperimental] (unsigned long or sequence<unsigned long>) vibrate;
boolean silent = false;
[RuntimeEnabled=NotificationExperimental] any data = null;
};
« no previous file with comments | « Source/modules/notifications/Notification.idl ('k') | Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698