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

Unified Diff: third_party/WebKit/Source/modules/notifications/NotificationAction.idl

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
Index: third_party/WebKit/Source/modules/notifications/NotificationAction.idl
diff --git a/third_party/WebKit/Source/modules/notifications/NotificationAction.idl b/third_party/WebKit/Source/modules/notifications/NotificationAction.idl
index be78856c3bc5028caa5b6d13f526f6d41ce61853..5de51f9517846d2d073302e35e31b9bf6c92d2cb 100644
--- a/third_party/WebKit/Source/modules/notifications/NotificationAction.idl
+++ b/third_party/WebKit/Source/modules/notifications/NotificationAction.idl
@@ -4,8 +4,15 @@
// https://notifications.spec.whatwg.org/#dictdef-notificationaction
+[RuntimeEnabled=NotificationInlineReplies] enum NotificationActionType {
+ "button",
+ "text"
+};
+
dictionary NotificationAction {
+ [RuntimeEnabled=NotificationInlineReplies] NotificationActionType type = "button";
required DOMString action;
required DOMString title;
[RuntimeEnabled=NotificationActionIcons] USVString icon;
+ [RuntimeEnabled=NotificationInlineReplies] DOMString? placeholder = null;
};

Powered by Google App Engine
This is Rietveld 408576698