Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: ui/message_center/notification_types.h

Issue 12277024: Notificaitons refactor step 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more feedback from Steven Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « ui/message_center/notification_list_unittest.cc ('k') | ui/message_center/notification_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698