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

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

Issue 1263043003: Add NotificationAction.action member (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@actions
Patch Set: Fix rebase Created 5 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 | « Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/modules/notifications/WebNotificationAction.h
diff --git a/public/platform/modules/notifications/WebNotificationAction.h b/public/platform/modules/notifications/WebNotificationAction.h
index 4516b8c218615297b9c2bac5bdbce9343285e49e..3a2026d588b9503a4eb3b36da1187ef2a0510f5b 100644
--- a/public/platform/modules/notifications/WebNotificationAction.h
+++ b/public/platform/modules/notifications/WebNotificationAction.h
@@ -15,11 +15,13 @@ struct WebNotificationAction {
WebNotificationAction() = default;
WebNotificationAction(const WebNotificationAction&) = default;
- WebNotificationAction(const WebString& title)
- : title(title)
+ WebNotificationAction(const WebString& action, const WebString& title)
+ : action(action)
+ , title(title)
{
}
+ WebString action;
WebString title;
};
« no previous file with comments | « Source/modules/notifications/ServiceWorkerRegistrationNotifications.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698