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

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

Issue 11639041: Added support for image notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix bug detected by try bots. Created 7 years, 11 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_view.cc ('k') | ui/notifications/notification_types.cc » ('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_NOTIFICATIONS_NOTIFICATION_TYPES_H_ 5 #ifndef UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_
6 #define UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ 6 #define UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ui/base/ui_export.h" 10 #include "ui/base/ui_export.h"
(...skipping 11 matching lines...) Expand all
22 UI_EXPORT extern const char kButtonTwoTitleKey[]; 22 UI_EXPORT extern const char kButtonTwoTitleKey[];
23 UI_EXPORT extern const char kExpandedMessageKey[]; 23 UI_EXPORT extern const char kExpandedMessageKey[];
24 UI_EXPORT extern const char kImageUrlKey[]; 24 UI_EXPORT extern const char kImageUrlKey[];
25 UI_EXPORT extern const char kItemsKey[]; 25 UI_EXPORT extern const char kItemsKey[];
26 UI_EXPORT extern const char kItemTitleKey[]; 26 UI_EXPORT extern const char kItemTitleKey[];
27 UI_EXPORT extern const char kItemMessageKey[]; 27 UI_EXPORT extern const char kItemMessageKey[];
28 28
29 enum NotificationType { 29 enum NotificationType {
30 NOTIFICATION_TYPE_SIMPLE, 30 NOTIFICATION_TYPE_SIMPLE,
31 NOTIFICATION_TYPE_BASE_FORMAT, 31 NOTIFICATION_TYPE_BASE_FORMAT,
32 NOTIFICATION_TYPE_IMAGE,
32 NOTIFICATION_TYPE_MULTIPLE, 33 NOTIFICATION_TYPE_MULTIPLE,
33 }; 34 };
34 35
35 enum NotificationPriority { 36 enum NotificationPriority {
36 MIN_PRIORITY = -2, 37 MIN_PRIORITY = -2,
37 LOW_PRIORITY = -1, 38 LOW_PRIORITY = -1,
38 DEFAULT_PRIORITY = 0, 39 DEFAULT_PRIORITY = 0,
39 HIGH_PRIORITY = 1, 40 HIGH_PRIORITY = 1,
40 MAX_PRIORITY = 2, 41 MAX_PRIORITY = 2,
41 }; 42 };
42 43
43 UI_EXPORT NotificationType StringToNotificationType(std::string& string_type); 44 UI_EXPORT NotificationType StringToNotificationType(std::string& string_type);
44 45
45 } // namespace notifications 46 } // namespace notifications
46 47
47 } // namespace ui 48 } // namespace ui
48 49
49 #endif // UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ 50 #endif // UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « ui/message_center/notification_view.cc ('k') | ui/notifications/notification_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698