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

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: Created 5 years, 5 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: public/platform/modules/notifications/WebNotificationAction.h
diff --git a/public/platform/modules/notifications/WebNotificationAction.h b/public/platform/modules/notifications/WebNotificationAction.h
index 7c0e6fe48a0f6c382b650aa37e726077ac5d1f89..e2f617460739f33706cf678f034e31aaa80764ef 100644
--- a/public/platform/modules/notifications/WebNotificationAction.h
+++ b/public/platform/modules/notifications/WebNotificationAction.h
@@ -15,11 +15,13 @@ struct WebNotificationAction {
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;
};

Powered by Google App Engine
This is Rietveld 408576698