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

Unified Diff: Source/modules/notifications/Notification.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
« no previous file with comments | « Source/modules/notifications/Notification.cpp ('k') | Source/modules/notifications/NotificationOptions.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/notifications/Notification.idl
diff --git a/Source/modules/notifications/Notification.idl b/Source/modules/notifications/Notification.idl
index e684d228a338e83e0478ab345aef6b15b0482777..32072f7a36108e4379852cdb388472a16165b0b5 100644
--- a/Source/modules/notifications/Notification.idl
+++ b/Source/modules/notifications/Notification.idl
@@ -55,6 +55,8 @@
readonly attribute DOMString body;
readonly attribute DOMString tag;
readonly attribute DOMString icon;
+
+ [RuntimeEnabled=NotificationExperimental] readonly attribute sequence<unsigned long>? vibrate;
readonly attribute boolean silent;
[RuntimeEnabled=NotificationExperimental, CallWith=ScriptState] readonly attribute any data;
« no previous file with comments | « Source/modules/notifications/Notification.cpp ('k') | Source/modules/notifications/NotificationOptions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698