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

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

Issue 1644573002: Notification actions may have an icon url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/platform_notification_data.h
diff --git a/content/public/common/platform_notification_data.h b/content/public/common/platform_notification_data.h
index 4a9609ef169c02cdf566acd59cadd54348004cff..3086a769860fb76ebbc72c4483f97c02211f4aaa 100644
--- a/content/public/common/platform_notification_data.h
+++ b/content/public/common/platform_notification_data.h
@@ -26,6 +26,9 @@ struct CONTENT_EXPORT PlatformNotificationAction {
// Title of the button.
base::string16 title;
+
+ // URL of the icon for the button. May be empty if no url was specified.
+ GURL icon;
Peter Beverloo 2016/01/27 13:24:45 Please make sure that this struct and the IPC_STRU
Michael van Ouwerkerk 2016/01/27 14:24:32 Done.
};
// Structure representing the information associated with a Web Notification.

Powered by Google App Engine
This is Rietveld 408576698