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

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: Check IPC drawsNothing rather than isNull 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
« no previous file with comments | « third_party/WebKit/public/platform/modules/notifications/WebNotificationData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..af62e47786caf3bbddb46b074cd87d4d7dfe01ac 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 an 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;
« no previous file with comments | « third_party/WebKit/public/platform/modules/notifications/WebNotificationData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698