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

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: Created 4 years, 10 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..68a5b3e4078733954f9734b33dea7a721ce04da2 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=NotificationExperimental] readonly attribute USVString smallIcon;
[RuntimeEnabled=NotificationExperimental] readonly attribute sequence<unsigned long>? vibrate;
readonly attribute DOMTimeStamp timestamp;

Powered by Google App Engine
This is Rietveld 408576698