OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 WebNotificationData_h | 5 #ifndef WebNotificationData_h |
6 #define WebNotificationData_h | 6 #define WebNotificationData_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 #include "public/platform/WebVector.h" | 10 #include "public/platform/WebVector.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 }; | 21 }; |
22 | 22 |
23 WebString title; | 23 WebString title; |
24 Direction direction = DirectionLeftToRight; | 24 Direction direction = DirectionLeftToRight; |
25 WebString lang; | 25 WebString lang; |
26 WebString body; | 26 WebString body; |
27 WebString tag; | 27 WebString tag; |
28 WebURL icon; | 28 WebURL icon; |
29 WebVector<int> vibrate; | 29 WebVector<int> vibrate; |
30 double timestamp = 0; | 30 double timestamp = 0; |
| 31 bool renotify = false; |
31 bool silent = false; | 32 bool silent = false; |
32 bool requireInteraction = false; | 33 bool requireInteraction = false; |
33 WebVector<char> data; | 34 WebVector<char> data; |
34 WebVector<WebNotificationAction> actions; | 35 WebVector<WebNotificationAction> actions; |
35 }; | 36 }; |
36 | 37 |
37 } // namespace blink | 38 } // namespace blink |
38 | 39 |
39 #endif // WebNotificationData_h | 40 #endif // WebNotificationData_h |
OLD | NEW |