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

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

Issue 554213003: Request the icon of a Web Notification in the renderer process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/show_desktop_notification_params.h
diff --git a/content/public/common/show_desktop_notification_params.h b/content/public/common/show_desktop_notification_params.h
index 327f91cb8b63b5ac5027e639ad108b83737d4083..c601654409a399cef6243a451cd37639185ca4c7 100644
--- a/content/public/common/show_desktop_notification_params.h
+++ b/content/public/common/show_desktop_notification_params.h
@@ -7,6 +7,7 @@
#include "content/common/content_export.h"
#include "third_party/WebKit/public/web/WebTextDirection.h"
+#include "third_party/skia/include/core/SkBitmap.h"
#include "url/gurl.h"
namespace content {
@@ -19,8 +20,9 @@ struct CONTENT_EXPORT ShowDesktopNotificationHostMsgParams {
// URL which is the origin that created this notification.
GURL origin;
- // Contents of the notification if is_html is false.
- GURL icon_url;
+ // Image to be displayed as part of the notification.
+ SkBitmap icon;
+
base::string16 title;
base::string16 body;

Powered by Google App Engine
This is Rietveld 408576698