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

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

Issue 1750083004: Add badge to web notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. Created 4 years, 9 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: third_party/WebKit/Source/modules/notifications/Notification.idl
diff --git a/third_party/WebKit/Source/modules/notifications/Notification.idl b/third_party/WebKit/Source/modules/notifications/Notification.idl
index 8ad23a1223573ac6d09b6509cf542ca6a931f66c..07638ae9cf27cfb1a2e776355d345d030b036831 100644
--- a/third_party/WebKit/Source/modules/notifications/Notification.idl
+++ b/third_party/WebKit/Source/modules/notifications/Notification.idl
@@ -66,6 +66,7 @@ enum NotificationPermission {
readonly attribute DOMString body;
readonly attribute DOMString tag;
readonly attribute USVString icon;
+ [RuntimeEnabled=NotificationBadge] readonly attribute USVString badge;
[RuntimeEnabled=NotificationExperimental] readonly attribute sequence<unsigned long>? vibrate;
readonly attribute DOMTimeStamp timestamp;

Powered by Google App Engine
This is Rietveld 408576698