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

Unified Diff: third_party/WebKit/public/platform/modules/notifications/WebNotificationResources.h

Issue 2261283002: Add Notification images (Blink + desktop implementation) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/public/platform/modules/notifications/WebNotificationResources.h
diff --git a/third_party/WebKit/public/platform/modules/notifications/WebNotificationResources.h b/third_party/WebKit/public/platform/modules/notifications/WebNotificationResources.h
index d34e72a83130c92c658372e8eca90aeda1150097..4d900c1adf592f766c022449a89206188d7dfb0d 100644
--- a/third_party/WebKit/public/platform/modules/notifications/WebNotificationResources.h
+++ b/third_party/WebKit/public/platform/modules/notifications/WebNotificationResources.h
@@ -12,6 +12,10 @@ namespace blink {
// Structure representing the resources associated with a Web Notification.
struct WebNotificationResources {
+ // Content image for the notification. The bitmap may be empty if the
+ // developer did not provide a image, or fetching of the image failed.
+ SkBitmap image;
+
// Main icon for the notification. The bitmap may be empty if the developer
// did not provide an icon, or fetching of the icon failed.
SkBitmap icon;

Powered by Google App Engine
This is Rietveld 408576698