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

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

Issue 1234553003: Supports the sound attribute to the Notification object Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: [WIP] 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/NotificationOptions.idl
diff --git a/Source/modules/notifications/NotificationOptions.idl b/Source/modules/notifications/NotificationOptions.idl
index 364907ecd5f001f352a63e93bf13fc05eba8aa99..47193cc1cd5420738dd8335744f121e1fe33854e 100644
--- a/Source/modules/notifications/NotificationOptions.idl
+++ b/Source/modules/notifications/NotificationOptions.idl
@@ -16,6 +16,7 @@ dictionary NotificationOptions {
DOMString body = "";
DOMString tag = "";
DOMString icon;
+ [RuntimeEnabled=NotificationExperimental] USVString sound;
// TODO(sh919.park): vibrate should be ([Clamp] unsigned long or sequence<unsigned long>)
(unsigned long or sequence<unsigned long>) vibrate;
boolean silent = false;
« 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