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.
5 #ifndef UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_
6 #define UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_
11 #include "ui/message_center/message_center_export.h"
13 namespace message_center {
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 kButtonOneTitleKey[];
19 MESSAGE_CENTER_EXPORT extern const char kButtonOneIconUrlKey[];
20 MESSAGE_CENTER_EXPORT extern const char kButtonTwoTitleKey[];
21 MESSAGE_CENTER_EXPORT extern const char kButtonTwoIconUrlKey[];
22 MESSAGE_CENTER_EXPORT extern const char kExpandedMessageKey[];
23 MESSAGE_CENTER_EXPORT extern const char kImageUrlKey[];
24 MESSAGE_CENTER_EXPORT extern const char kItemsKey[];
25 MESSAGE_CENTER_EXPORT extern const char kItemTitleKey[];
26 MESSAGE_CENTER_EXPORT extern const char kItemMessageKey[];
27 // This key should not be used by the extension API handler. It's not allowed
28 // to use it there, it's used to cancel timeout for webkit notifications.
29 MESSAGE_CENTER_EXPORT extern const char kPrivateNeverTimeoutKey[];
31 enum NotificationType {
32 NOTIFICATION_TYPE_SIMPLE,
33 NOTIFICATION_TYPE_BASE_FORMAT,
34 NOTIFICATION_TYPE_IMAGE,
35 NOTIFICATION_TYPE_MULTIPLE,
36 NOTIFICATION_TYPE_PROGRESS
39 enum NotificationPriority {
46 // Top priority for system-level notifications.. This can't be set from
47 // kPriorityKey, instead you have to call SetSystemPriority() of
48 // Notification object.
52 } // namespace message_center
54 #endif // UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_