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

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

Issue 1259193003: Add priority to Notification & NotificationOptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@actions3
Patch Set: Lowest to highest enum order Created 5 years, 4 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/Notification.idl
diff --git a/Source/modules/notifications/Notification.idl b/Source/modules/notifications/Notification.idl
index 76823c7173e9b8d6280331c4b40c6b22528c15e0..0be37ba825157eae960582fe5312ffda514326c4 100644
--- a/Source/modules/notifications/Notification.idl
+++ b/Source/modules/notifications/Notification.idl
@@ -66,6 +66,7 @@ enum NotificationPermission {
readonly attribute DOMString lang;
readonly attribute DOMString body;
readonly attribute DOMString tag;
+ [RuntimeEnabled=NotificationExperimental] readonly attribute NotificationPriority priority;
readonly attribute DOMString icon;
[RuntimeEnabled=NotificationExperimental] readonly attribute sequence<unsigned long>? vibrate;

Powered by Google App Engine
This is Rietveld 408576698