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

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

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.cpp
diff --git a/third_party/WebKit/Source/modules/notifications/Notification.cpp b/third_party/WebKit/Source/modules/notifications/Notification.cpp
index 40a8d9bae61bd91e1955ea14ae3dd380bbe40247..451da3c894b0cde0a9bc2762cff0f01f82ab42b4 100644
--- a/third_party/WebKit/Source/modules/notifications/Notification.cpp
+++ b/third_party/WebKit/Source/modules/notifications/Notification.cpp
@@ -242,6 +242,11 @@ String Notification::icon() const
return m_data.icon.string();
}
+String Notification::smallIcon() const
+{
+ return m_data.smallIcon.string();
+}
+
NavigatorVibration::VibrationPattern Notification::vibrate(bool& isNull) const
{
NavigatorVibration::VibrationPattern pattern;

Powered by Google App Engine
This is Rietveld 408576698