| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WebNotificationAction_h | |
| 6 #define WebNotificationAction_h | |
| 7 | |
| 8 #include "public/platform/WebString.h" | |
| 9 #include "public/platform/WebURL.h" | |
| 10 | |
| 11 namespace blink { | |
| 12 | |
| 13 // Structure representing the data associated with a Web Notification action. | |
| 14 struct WebNotificationAction { | |
| 15 // Corresponds to NotificationActionType. | |
| 16 enum Type { | |
| 17 Button = 0, | |
| 18 Text | |
| 19 }; | |
| 20 | |
| 21 Type type; | |
| 22 WebString action; | |
| 23 WebString title; | |
| 24 WebURL icon; | |
| 25 WebString placeholder; | |
| 26 }; | |
| 27 | |
| 28 } // namespace blink | |
| 29 | |
| 30 #endif // WebNotificationAction_h | |
| OLD | NEW |