| 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 #include "ui/message_center/message_center_export.h" | 8 #include "ui/message_center/message_center_export.h" |
| 9 | 9 |
| 10 namespace message_center { | 10 namespace message_center { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 MESSAGE_CENTER_EXPORT extern const char kPrivateNeverTimeoutKey[]; | 26 MESSAGE_CENTER_EXPORT extern const char kPrivateNeverTimeoutKey[]; |
| 27 | 27 |
| 28 // Notification types. Note that the values in this enumeration are being | 28 // Notification types. Note that the values in this enumeration are being |
| 29 // recoded in a histogram, updates should not change the entries' values. | 29 // recoded in a histogram, updates should not change the entries' values. |
| 30 enum NotificationType { | 30 enum NotificationType { |
| 31 NOTIFICATION_TYPE_SIMPLE = 0, | 31 NOTIFICATION_TYPE_SIMPLE = 0, |
| 32 NOTIFICATION_TYPE_BASE_FORMAT = 1, | 32 NOTIFICATION_TYPE_BASE_FORMAT = 1, |
| 33 NOTIFICATION_TYPE_IMAGE = 2, | 33 NOTIFICATION_TYPE_IMAGE = 2, |
| 34 NOTIFICATION_TYPE_MULTIPLE = 3, | 34 NOTIFICATION_TYPE_MULTIPLE = 3, |
| 35 NOTIFICATION_TYPE_PROGRESS = 4, // Notification with progress bar. | 35 NOTIFICATION_TYPE_PROGRESS = 4, // Notification with progress bar. |
| 36 NOTIFICATION_TYPE_CUSTOM = 5, |
| 36 | 37 |
| 37 // Add new values before this line. | 38 // Add new values before this line. |
| 38 NOTIFICATION_TYPE_LAST = NOTIFICATION_TYPE_PROGRESS | 39 NOTIFICATION_TYPE_LAST = NOTIFICATION_TYPE_PROGRESS |
| 39 }; | 40 }; |
| 40 | 41 |
| 41 enum NotificationPriority { | 42 enum NotificationPriority { |
| 42 MIN_PRIORITY = -2, | 43 MIN_PRIORITY = -2, |
| 43 LOW_PRIORITY = -1, | 44 LOW_PRIORITY = -1, |
| 44 DEFAULT_PRIORITY = 0, | 45 DEFAULT_PRIORITY = 0, |
| 45 HIGH_PRIORITY = 1, | 46 HIGH_PRIORITY = 1, |
| 46 MAX_PRIORITY = 2, | 47 MAX_PRIORITY = 2, |
| 47 | 48 |
| 48 // Top priority for system-level notifications.. This can't be set from | 49 // Top priority for system-level notifications.. This can't be set from |
| 49 // kPriorityKey, instead you have to call SetSystemPriority() of | 50 // kPriorityKey, instead you have to call SetSystemPriority() of |
| 50 // Notification object. | 51 // Notification object. |
| 51 SYSTEM_PRIORITY = 3, | 52 SYSTEM_PRIORITY = 3, |
| 52 }; | 53 }; |
| 53 | 54 |
| 54 } // namespace message_center | 55 } // namespace message_center |
| 55 | 56 |
| 56 #endif // UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_ | 57 #endif // UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_ |
| OLD | NEW |