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

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

Issue 1644573002: Notification actions may have an icon url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 10 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/Source/platform/RuntimeEnabledFeatures.in ('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/WebNotificationAction.h
diff --git a/third_party/WebKit/public/platform/modules/notifications/WebNotificationAction.h b/third_party/WebKit/public/platform/modules/notifications/WebNotificationAction.h
index 3a2026d588b9503a4eb3b36da1187ef2a0510f5b..c42b47d1384e4cf656f8ac6b4cc11679dcef5239 100644
--- a/third_party/WebKit/public/platform/modules/notifications/WebNotificationAction.h
+++ b/third_party/WebKit/public/platform/modules/notifications/WebNotificationAction.h
@@ -6,23 +6,15 @@
#define WebNotificationAction_h
#include "public/platform/WebString.h"
+#include "public/platform/WebURL.h"
namespace blink {
// Structure representing the data associated with a Web Notification action.
struct WebNotificationAction {
- // Empty and copy constructor only for WebVector.
- WebNotificationAction() = default;
- WebNotificationAction(const WebNotificationAction&) = default;
-
- WebNotificationAction(const WebString& action, const WebString& title)
- : action(action)
- , title(title)
- {
- }
-
WebString action;
WebString title;
+ WebURL icon;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698