| 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_MESSAGE_CENTER_NOTIFICATION_TYPES_H_ | 5 #ifndef UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_ |
| 6 #define UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_ | 6 #define UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_ |
| 7 | 7 |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "ui/message_center/message_center_export.h" | 11 #include "ui/message_center/message_center_export.h" |
| 12 | 12 |
| 13 namespace message_center { | 13 namespace message_center { |
| 14 | 14 |
| 15 // Keys for optional fields in Notification. | 15 // Keys for optional fields in Notification. |
| 16 MESSAGE_CENTER_EXPORT extern const char kPriorityKey[]; | 16 MESSAGE_CENTER_EXPORT extern const char kPriorityKey[]; |
| 17 MESSAGE_CENTER_EXPORT extern const char kTimestampKey[]; | 17 MESSAGE_CENTER_EXPORT extern const char kTimestampKey[]; |
| 18 MESSAGE_CENTER_EXPORT extern const char kUnreadCountKey[]; | |
| 19 MESSAGE_CENTER_EXPORT extern const char kButtonOneTitleKey[]; | 18 MESSAGE_CENTER_EXPORT extern const char kButtonOneTitleKey[]; |
| 20 MESSAGE_CENTER_EXPORT extern const char kButtonOneIconUrlKey[]; | 19 MESSAGE_CENTER_EXPORT extern const char kButtonOneIconUrlKey[]; |
| 21 MESSAGE_CENTER_EXPORT extern const char kButtonTwoTitleKey[]; | 20 MESSAGE_CENTER_EXPORT extern const char kButtonTwoTitleKey[]; |
| 22 MESSAGE_CENTER_EXPORT extern const char kButtonTwoIconUrlKey[]; | 21 MESSAGE_CENTER_EXPORT extern const char kButtonTwoIconUrlKey[]; |
| 23 MESSAGE_CENTER_EXPORT extern const char kExpandedMessageKey[]; | 22 MESSAGE_CENTER_EXPORT extern const char kExpandedMessageKey[]; |
| 24 MESSAGE_CENTER_EXPORT extern const char kImageUrlKey[]; | 23 MESSAGE_CENTER_EXPORT extern const char kImageUrlKey[]; |
| 25 MESSAGE_CENTER_EXPORT extern const char kItemsKey[]; | 24 MESSAGE_CENTER_EXPORT extern const char kItemsKey[]; |
| 26 MESSAGE_CENTER_EXPORT extern const char kItemTitleKey[]; | 25 MESSAGE_CENTER_EXPORT extern const char kItemTitleKey[]; |
| 27 MESSAGE_CENTER_EXPORT extern const char kItemMessageKey[]; | 26 MESSAGE_CENTER_EXPORT extern const char kItemMessageKey[]; |
| 28 // This key should not be used by the extension API handler. It's not allowed | 27 // This key should not be used by the extension API handler. It's not allowed |
| (...skipping 11 matching lines...) Expand all Loading... |
| 40 MIN_PRIORITY = -2, | 39 MIN_PRIORITY = -2, |
| 41 LOW_PRIORITY = -1, | 40 LOW_PRIORITY = -1, |
| 42 DEFAULT_PRIORITY = 0, | 41 DEFAULT_PRIORITY = 0, |
| 43 HIGH_PRIORITY = 1, | 42 HIGH_PRIORITY = 1, |
| 44 MAX_PRIORITY = 2, | 43 MAX_PRIORITY = 2, |
| 45 }; | 44 }; |
| 46 | 45 |
| 47 } // namespace message_center | 46 } // namespace message_center |
| 48 | 47 |
| 49 #endif // UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_ | 48 #endif // UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_ |
| OLD | NEW |