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 #ifndef WebNotificationAction_h | 5 #ifndef WebNotificationAction_h |
| 6 #define WebNotificationAction_h | 6 #define WebNotificationAction_h |
| 7 | 7 |
| 8 #include "public/platform/WebString.h" | 8 #include "public/platform/WebString.h" |
| 9 #include "public/platform/WebURL.h" | 9 #include "public/platform/WebURL.h" |
| 10 | 10 |
| 11 namespace blink { | 11 namespace blink { |
| 12 | 12 |
| 13 // Structure representing the data associated with a Web Notification action. | 13 // Structure representing the data associated with a Web Notification action. |
| 14 struct WebNotificationAction { | 14 struct WebNotificationAction { |
| 15 WebString type; | |
|
Mike West
2016/04/05 14:41:00
From `NotificationAction.idl`, it looks like this
Nina
2016/04/05 16:10:01
It's being stored and sent through IPC as an enum
| |
| 15 WebString action; | 16 WebString action; |
| 16 WebString title; | 17 WebString title; |
| 17 WebURL icon; | 18 WebURL icon; |
| 19 WebString placeholder; | |
| 18 }; | 20 }; |
| 19 | 21 |
| 20 } // namespace blink | 22 } // namespace blink |
| 21 | 23 |
| 22 #endif // WebNotificationAction_h | 24 #endif // WebNotificationAction_h |
| OLD | NEW |