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

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

Issue 12335024: Change eventTime field to standard chrome.* API format. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_H_ 5 #ifndef UI_MESSAGE_CENTER_NOTIFICATION_H_
6 #define UI_MESSAGE_CENTER_NOTIFICATION_H_ 6 #define UI_MESSAGE_CENTER_NOTIFICATION_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 18 matching lines...) Expand all
29 ui::notifications::NotificationType type; 29 ui::notifications::NotificationType type;
30 std::string id; 30 std::string id;
31 string16 title; 31 string16 title;
32 string16 message; 32 string16 message;
33 string16 display_source; 33 string16 display_source;
34 std::string extension_id; 34 std::string extension_id;
35 35
36 // Begin unpacked values from optional_fields 36 // Begin unpacked values from optional_fields
37 int priority; 37 int priority;
38 base::Time timestamp; 38 base::Time timestamp;
39 int unread_count;
40 std::vector<string16> button_titles; 39 std::vector<string16> button_titles;
41 string16 expanded_message; 40 string16 expanded_message;
42 std::vector<NotificationItem> items; 41 std::vector<NotificationItem> items;
43 // End unpacked values 42 // End unpacked values
44 43
45 // Images fetched asynchronously 44 // Images fetched asynchronously
46 gfx::ImageSkia primary_icon; 45 gfx::ImageSkia primary_icon;
47 gfx::ImageSkia image; 46 gfx::ImageSkia image;
48 std::vector<gfx::ImageSkia> button_icons; 47 std::vector<gfx::ImageSkia> button_icons;
49 48
50 bool is_read; // True if this has been seen in the message center 49 bool is_read; // True if this has been seen in the message center
51 bool shown_as_popup; // True if this has been shown as a popup notification 50 bool shown_as_popup; // True if this has been shown as a popup notification
52 }; 51 };
53 52
54 } // namespace message_center 53 } // namespace message_center
55 54
56 #endif // UI_MESSAGE_CENTER_NOTIFICATION_H_ 55 #endif // UI_MESSAGE_CENTER_NOTIFICATION_H_
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/experimental_notification.idl ('k') | ui/message_center/notification_list.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698