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

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

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.h
diff --git a/third_party/WebKit/Source/modules/notifications/Notification.h b/third_party/WebKit/Source/modules/notifications/Notification.h
index 065e3b9e6d4eca12c49c79dc7cdd9630cdbd6e10..68af8e1882702511e61918f00048e58c2096eb5c 100644
--- a/third_party/WebKit/Source/modules/notifications/Notification.h
+++ b/third_party/WebKit/Source/modules/notifications/Notification.h
@@ -91,6 +91,7 @@ public:
String body() const;
String tag() const;
String icon() const;
+ String badge() const;
NavigatorVibration::VibrationPattern vibrate(bool& isNull) const;
DOMTimeStamp timestamp() const;
bool renotify() const;

Powered by Google App Engine
This is Rietveld 408576698