Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // https://notifications.spec.whatwg.org/#dictdef-notificationaction | 5 // https://notifications.spec.whatwg.org/#dictdef-notificationaction |
| 6 | 6 |
| 7 [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
| |
| 8 "button", | |
| 9 "text" | |
| 10 }; | |
| 11 | |
| 7 dictionary NotificationAction { | 12 dictionary NotificationAction { |
| 13 [RuntimeEnabled=NotificationInlineReplies] NotificationActionType type = "bu tton"; | |
| 8 required DOMString action; | 14 required DOMString action; |
| 9 required DOMString title; | 15 required DOMString title; |
| 10 [RuntimeEnabled=NotificationActionIcons] USVString icon; | 16 [RuntimeEnabled=NotificationActionIcons] USVString icon; |
| 17 [RuntimeEnabled=NotificationInlineReplies] DOMString? placeholder = null; | |
| 11 }; | 18 }; |
| OLD | NEW |