Chromium Code Reviews| Index: Source/modules/notifications/NotificationOptions.idl |
| diff --git a/Source/modules/notifications/NotificationOptions.idl b/Source/modules/notifications/NotificationOptions.idl |
| index 716ce68f4ea9ae8c1bc3eadbb29dbcf4536f7859..c4df71cc6b84d54fe69e79328ce53f8d8d98d24a 100644 |
| --- a/Source/modules/notifications/NotificationOptions.idl |
| +++ b/Source/modules/notifications/NotificationOptions.idl |
| @@ -10,6 +10,8 @@ enum NotificationDirection { |
| "rtl" |
| }; |
| +typedef (unsigned long or sequence<unsigned long>) VibratePattern; |
|
Peter Beverloo
2015/04/01 14:26:29
Why can't we share this definition with the Vibrat
timvolodine
2015/04/01 16:27:17
+1
Sanghyun Park
2015/04/01 17:46:08
Unfortunately, NavigatorVibration.idl did not supp
|
| + |
| dictionary NotificationOptions { |
| NotificationDirection dir = "auto"; |
| DOMString lang = ""; |
| @@ -17,5 +19,6 @@ dictionary NotificationOptions { |
| DOMString tag = ""; |
| DOMString icon; |
| boolean silent = false; |
| + [RuntimeEnabled=NotificationExperimental] VibratePattern vibrate; |
| [RuntimeEnabled=NotificationExperimental] any data = null; |
| }; |