OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ | 5 #ifndef UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ |
6 #define UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ | 6 #define UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ui/base/ui_export.h" | 10 #include "ui/base/ui_export.h" |
11 | 11 |
12 namespace ui { | 12 namespace ui { |
13 | 13 |
14 namespace notifications { | 14 namespace notifications { |
15 | 15 |
16 // Keys for optional fields in Notification. | 16 // Keys for optional fields in Notification. |
17 UI_EXPORT extern const char kMessageIntentKey[]; | 17 UI_EXPORT extern const char kMessageIntentKey[]; |
18 UI_EXPORT extern const char kPriorityKey[]; | 18 UI_EXPORT extern const char kPriorityKey[]; |
19 UI_EXPORT extern const char kTimestampKey[]; | 19 UI_EXPORT extern const char kTimestampKey[]; |
20 UI_EXPORT extern const char kSecondIconUrlKey[]; | 20 UI_EXPORT extern const char kSecondIconUrlKey[]; |
21 UI_EXPORT extern const char kUnreadCountKey[]; | 21 UI_EXPORT extern const char kUnreadCountKey[]; |
22 UI_EXPORT extern const char kButtonOneTitleKey[]; | 22 UI_EXPORT extern const char kButtonOneTitleKey[]; |
23 UI_EXPORT extern const char kButtonOneIntentKey[]; | 23 UI_EXPORT extern const char kButtonOneIntentKey[]; |
24 UI_EXPORT extern const char kButtonTwoTitleKey[]; | 24 UI_EXPORT extern const char kButtonTwoTitleKey[]; |
25 UI_EXPORT extern const char kButtonTwoIntentKey[]; | 25 UI_EXPORT extern const char kButtonTwoIntentKey[]; |
26 UI_EXPORT extern const char kExpandedMessageKey[]; | 26 UI_EXPORT extern const char kExpandedMessageKey[]; |
27 UI_EXPORT extern const char kImageUrlKey[]; | 27 UI_EXPORT extern const char kImageUrlKey[]; |
| 28 UI_EXPORT extern const char kItemsKey[]; |
| 29 UI_EXPORT extern const char kItemTitleKey[]; |
| 30 UI_EXPORT extern const char kItemMessageKey[]; |
28 | 31 |
29 enum NotificationType { | 32 enum NotificationType { |
30 NOTIFICATION_TYPE_SIMPLE, | 33 NOTIFICATION_TYPE_SIMPLE, |
31 NOTIFICATION_TYPE_BASE_FORMAT, | 34 NOTIFICATION_TYPE_BASE_FORMAT, |
32 NOTIFICATION_TYPE_MULTIPLE, | 35 NOTIFICATION_TYPE_MULTIPLE, |
33 }; | 36 }; |
34 | 37 |
35 UI_EXPORT NotificationType StringToNotificationType(std::string& string_type); | 38 UI_EXPORT NotificationType StringToNotificationType(std::string& string_type); |
36 | 39 |
37 } // namespace notifications | 40 } // namespace notifications |
38 | 41 |
39 } // namespace ui | 42 } // namespace ui |
40 | 43 |
41 #endif // UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ | 44 #endif // UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ |
OLD | NEW |