| Index: Source/modules/notifications/NotificationOptions.idl
|
| diff --git a/Source/modules/notifications/NotificationOptions.idl b/Source/modules/notifications/NotificationOptions.idl
|
| index aeeef61f70791863ca780c571c97d1b45178ae14..1fb31367bb293a5dbb56ef558628d182df2d66cf 100644
|
| --- a/Source/modules/notifications/NotificationOptions.idl
|
| +++ b/Source/modules/notifications/NotificationOptions.idl
|
| @@ -10,11 +10,20 @@ enum NotificationDirection {
|
| "rtl"
|
| };
|
|
|
| +enum NotificationPriority {
|
| + "lowest",
|
| + "low",
|
| + "normal",
|
| + "high",
|
| + "highest"
|
| +};
|
| +
|
| dictionary NotificationOptions {
|
| NotificationDirection dir = "auto";
|
| DOMString lang = "";
|
| DOMString body = "";
|
| DOMString tag = "";
|
| + [RuntimeEnabled=NotificationExperimental] NotificationPriority priority = "normal";
|
| DOMString icon;
|
| // TODO(sh919.park): vibrate should be ([Clamp] unsigned long or sequence<unsigned long>)
|
| (unsigned long or sequence<unsigned long>) vibrate;
|
|
|