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

Unified Diff: content/public/common/notification_resources.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/notification_resources.h
diff --git a/content/public/common/notification_resources.h b/content/public/common/notification_resources.h
index c3b938d6c66a31593489b4b51015c328a20f94fe..32257e785570e49fb6cda2389261ac6e802e83aa 100644
--- a/content/public/common/notification_resources.h
+++ b/content/public/common/notification_resources.h
@@ -22,6 +22,10 @@ struct CONTENT_EXPORT NotificationResources {
// did not provide an icon, or fetching of the icon failed.
SkBitmap notification_icon;
+ // Small icon for the notification. The bitmap may be empty if the developer
+ // did not provide an icon, or fetching of the icon failed.
+ SkBitmap small_icon;
+
// Icons for the actions. A bitmap may be empty if the developer did not
// provide an icon, or fetching of the icon failed.
std::vector<SkBitmap> action_icons;

Powered by Google App Engine
This is Rietveld 408576698