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

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

Issue 1855443002: Implement receiving side of web notification inline replies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added test and removed unnecessary code. Created 4 years, 8 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 c42b47d1384e4cf656f8ac6b4cc11679dcef5239..8f3499af918863d32d019d688c9a727533d94d4e 100644
--- a/third_party/WebKit/public/platform/modules/notifications/WebNotificationAction.h
+++ b/third_party/WebKit/public/platform/modules/notifications/WebNotificationAction.h
@@ -12,9 +12,17 @@ namespace blink {
// Structure representing the data associated with a Web Notification action.
struct WebNotificationAction {
+ // Corresponds to NotificationActionType.
+ enum Type {
+ Button = 0,
+ Text
+ };
+
+ Type type;
WebString action;
WebString title;
WebURL icon;
+ WebString placeholder;
};
} // 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