Chromium Code Reviews| 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 { |
|
jbroman
2016/04/05 15:12:48
FYI, making an enum RuntimeEnabled is a no-op as f
Nina
2016/04/05 16:10:01
Ah! I'll leave it like this for now and follow the
|
| + "button", |
| + "text" |
| +}; |
| + |
| dictionary NotificationAction { |
| + [RuntimeEnabled=NotificationInlineReplies] NotificationActionType type = "button"; |
| required DOMString action; |
| required DOMString title; |
| [RuntimeEnabled=NotificationActionIcons] USVString icon; |
| + [RuntimeEnabled=NotificationInlineReplies] DOMString? placeholder = null; |
| }; |