OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_ |
| 6 #define UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_ |
| 7 |
| 8 |
| 9 #include <string> |
| 10 |
| 11 #include "ui/message_center/message_center_export.h" |
| 12 |
| 13 namespace message_center { |
| 14 |
| 15 // Keys for optional fields in Notification. |
| 16 MESSAGE_CENTER_EXPORT extern const char kPriorityKey[]; |
| 17 MESSAGE_CENTER_EXPORT extern const char kTimestampKey[]; |
| 18 MESSAGE_CENTER_EXPORT extern const char kUnreadCountKey[]; |
| 19 MESSAGE_CENTER_EXPORT extern const char kButtonOneTitleKey[]; |
| 20 MESSAGE_CENTER_EXPORT extern const char kButtonOneIconUrlKey[]; |
| 21 MESSAGE_CENTER_EXPORT extern const char kButtonTwoTitleKey[]; |
| 22 MESSAGE_CENTER_EXPORT extern const char kButtonTwoIconUrlKey[]; |
| 23 MESSAGE_CENTER_EXPORT extern const char kExpandedMessageKey[]; |
| 24 MESSAGE_CENTER_EXPORT extern const char kImageUrlKey[]; |
| 25 MESSAGE_CENTER_EXPORT extern const char kItemsKey[]; |
| 26 MESSAGE_CENTER_EXPORT extern const char kItemTitleKey[]; |
| 27 MESSAGE_CENTER_EXPORT extern const char kItemMessageKey[]; |
| 28 |
| 29 enum NotificationType { |
| 30 NOTIFICATION_TYPE_SIMPLE, |
| 31 NOTIFICATION_TYPE_BASE_FORMAT, |
| 32 NOTIFICATION_TYPE_IMAGE, |
| 33 NOTIFICATION_TYPE_MULTIPLE, |
| 34 }; |
| 35 |
| 36 enum NotificationPriority { |
| 37 MIN_PRIORITY = -2, |
| 38 LOW_PRIORITY = -1, |
| 39 DEFAULT_PRIORITY = 0, |
| 40 HIGH_PRIORITY = 1, |
| 41 MAX_PRIORITY = 2, |
| 42 }; |
| 43 |
| 44 } // namespace message_center |
| 45 |
| 46 #endif // UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_ |
OLD | NEW |