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 { | |
| 8 "button", | |
| 9 "text" | |
| 10 }; | |
| 11 | |
| 7 dictionary NotificationAction { | 12 dictionary NotificationAction { |
| 8 required DOMString action; | 13 required DOMString action; |
| 9 required DOMString title; | 14 required DOMString title; |
| 10 [RuntimeEnabled=NotificationActionIcons] USVString icon; | 15 [RuntimeEnabled=NotificationActionIcons] USVString icon; |
| 16 [RuntimeEnabled=NotificationInlineReplies] NotificationActionType type = "bu tton"; | |
| 17 [RuntimeEnabled=NotificationInlineReplies] DOMString? placeholder; | |
|
Michael van Ouwerkerk
2016/04/05 10:06:55
How is null expressed in our implementation, what
Nina
2016/04/05 13:28:22
I modified the existing code to account for it.
| |
| 11 }; | 18 }; |
| OLD | NEW |