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

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

Issue 11413077: Added plumbing to get and transmit multiple-item notification data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix merge. Created 8 years 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_list.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"
11 11
12 namespace ui { 12 namespace ui {
13 13
14 namespace notifications { 14 namespace notifications {
15 15
16 // Keys for optional fields in Notification. 16 // Keys for optional fields in Notification.
17 UI_EXPORT extern const char kMessageIntentKey[]; 17 UI_EXPORT extern const char kMessageIntentKey[];
18 UI_EXPORT extern const char kPriorityKey[]; 18 UI_EXPORT extern const char kPriorityKey[];
19 UI_EXPORT extern const char kTimestampKey[]; 19 UI_EXPORT extern const char kTimestampKey[];
20 UI_EXPORT extern const char kSecondIconUrlKey[]; 20 UI_EXPORT extern const char kSecondIconUrlKey[];
21 UI_EXPORT extern const char kUnreadCountKey[]; 21 UI_EXPORT extern const char kUnreadCountKey[];
22 UI_EXPORT extern const char kButtonOneTitleKey[]; 22 UI_EXPORT extern const char kButtonOneTitleKey[];
23 UI_EXPORT extern const char kButtonOneIntentKey[]; 23 UI_EXPORT extern const char kButtonOneIntentKey[];
24 UI_EXPORT extern const char kButtonTwoTitleKey[]; 24 UI_EXPORT extern const char kButtonTwoTitleKey[];
25 UI_EXPORT extern const char kButtonTwoIntentKey[]; 25 UI_EXPORT extern const char kButtonTwoIntentKey[];
26 UI_EXPORT extern const char kExpandedMessageKey[]; 26 UI_EXPORT extern const char kExpandedMessageKey[];
27 UI_EXPORT extern const char kImageUrlKey[]; 27 UI_EXPORT extern const char kImageUrlKey[];
28 UI_EXPORT extern const char kItemsKey[];
29 UI_EXPORT extern const char kItemTitleKey[];
30 UI_EXPORT extern const char kItemMessageKey[];
28 31
29 enum NotificationType { 32 enum NotificationType {
30 NOTIFICATION_TYPE_SIMPLE, 33 NOTIFICATION_TYPE_SIMPLE,
31 NOTIFICATION_TYPE_BASE_FORMAT, 34 NOTIFICATION_TYPE_BASE_FORMAT,
32 NOTIFICATION_TYPE_MULTIPLE, 35 NOTIFICATION_TYPE_MULTIPLE,
33 }; 36 };
34 37
35 UI_EXPORT NotificationType StringToNotificationType(std::string& string_type); 38 UI_EXPORT NotificationType StringToNotificationType(std::string& string_type);
36 39
37 } // namespace notifications 40 } // namespace notifications
38 41
39 } // namespace ui 42 } // namespace ui
40 43
41 #endif // UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_ 44 #endif // UI_NOTIFICATIONS_NOTIFICATION_TYPES_H_
OLDNEW
« no previous file with comments | « ui/message_center/notification_list.cc ('k') | ui/notifications/notification_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698