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

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

Issue 18662006: Support creating progress bar notification for Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedbacks Created 7 years, 5 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
« no previous file with comments | « ui/message_center/notification.cc ('k') | ui/message_center/views/notification_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
(...skipping 15 matching lines...) Expand all
26 MESSAGE_CENTER_EXPORT extern const char kItemMessageKey[]; 26 MESSAGE_CENTER_EXPORT extern const char kItemMessageKey[];
27 // 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
28 // to use it there, it's used to cancel timeout for webkit notifications. 28 // to use it there, it's used to cancel timeout for webkit notifications.
29 MESSAGE_CENTER_EXPORT extern const char kPrivateNeverTimeoutKey[]; 29 MESSAGE_CENTER_EXPORT extern const char kPrivateNeverTimeoutKey[];
30 30
31 enum NotificationType { 31 enum NotificationType {
32 NOTIFICATION_TYPE_SIMPLE, 32 NOTIFICATION_TYPE_SIMPLE,
33 NOTIFICATION_TYPE_BASE_FORMAT, 33 NOTIFICATION_TYPE_BASE_FORMAT,
34 NOTIFICATION_TYPE_IMAGE, 34 NOTIFICATION_TYPE_IMAGE,
35 NOTIFICATION_TYPE_MULTIPLE, 35 NOTIFICATION_TYPE_MULTIPLE,
36 NOTIFICATION_TYPE_PROGRESS
36 }; 37 };
37 38
38 enum NotificationPriority { 39 enum NotificationPriority {
39 MIN_PRIORITY = -2, 40 MIN_PRIORITY = -2,
40 LOW_PRIORITY = -1, 41 LOW_PRIORITY = -1,
41 DEFAULT_PRIORITY = 0, 42 DEFAULT_PRIORITY = 0,
42 HIGH_PRIORITY = 1, 43 HIGH_PRIORITY = 1,
43 MAX_PRIORITY = 2, 44 MAX_PRIORITY = 2,
44 45
45 // Top priority for system-level notifications.. This can't be set from 46 // Top priority for system-level notifications.. This can't be set from
46 // kPriorityKey, instead you have to call SetSystemPriority() of 47 // kPriorityKey, instead you have to call SetSystemPriority() of
47 // Notification object. 48 // Notification object.
48 SYSTEM_PRIORITY = 3, 49 SYSTEM_PRIORITY = 3,
49 }; 50 };
50 51
51 } // namespace message_center 52 } // namespace message_center
52 53
53 #endif // UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_ 54 #endif // UI_MESSAGE_CENTER_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « ui/message_center/notification.cc ('k') | ui/message_center/views/notification_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698