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

Unified Diff: content/public/common/platform_notification_data.h

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: content/public/common/platform_notification_data.h
diff --git a/content/public/common/platform_notification_data.h b/content/public/common/platform_notification_data.h
index a704efa4c28bf180136531ceb68a2eed7d80b5a3..c5909037a99c3a043cac13520c90e2031e04a0b0 100644
--- a/content/public/common/platform_notification_data.h
+++ b/content/public/common/platform_notification_data.h
@@ -71,6 +71,10 @@ struct CONTENT_EXPORT PlatformNotificationData {
// URL of the icon which is to be displayed with the notification.
GURL icon;
+ // URL of the small icon for representing the notification. May be empty if
+ // no url was specified.
+ GURL small_icon;
+
// Vibration pattern for the notification, following the syntax of the
// Vibration API. https://www.w3.org/TR/vibration/
std::vector<int> vibration_pattern;

Powered by Google App Engine
This is Rietveld 408576698