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

Unified Diff: content/child/notifications/notification_manager.cc

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
Index: content/child/notifications/notification_manager.cc
diff --git a/content/child/notifications/notification_manager.cc b/content/child/notifications/notification_manager.cc
index ed5642482ca84a12b9d2d30dcc8baf9c40a8540d..6671277f466df42531ce21af44f57d2a635e1628 100644
--- a/content/child/notifications/notification_manager.cc
+++ b/content/child/notifications/notification_manager.cc
@@ -30,6 +30,7 @@ int CurrentWorkerId() {
NotificationResources ToNotificationResources(
std::unique_ptr<blink::WebNotificationResources> web_resources) {
NotificationResources resources;
+ resources.image = web_resources->image;
resources.notification_icon = web_resources->icon;
resources.badge = web_resources->badge;
for (const auto& action_icon : web_resources->actionIcons)
« no previous file with comments | « content/child/notifications/notification_data_conversions_unittest.cc ('k') | content/common/platform_notification_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698