OLD | NEW |
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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "base/time.h" | 12 #include "base/time.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "ui/gfx/image/image.h" | 14 #include "ui/gfx/image/image.h" |
15 #include "ui/message_center/message_center_export.h" | 15 #include "ui/message_center/message_center_export.h" |
16 #include "ui/message_center/notification_delegate.h" | 16 #include "ui/message_center/notification_delegate.h" |
17 #include "ui/message_center/notification_types.h" | 17 #include "ui/message_center/notification_types.h" |
18 | 18 |
19 namespace message_center { | 19 namespace message_center { |
20 | 20 |
21 struct MESSAGE_CENTER_EXPORT NotificationItem { | 21 struct MESSAGE_CENTER_EXPORT NotificationItem { |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 bool is_expanded_; // True if this has been expanded in the message center. | 178 bool is_expanded_; // True if this has been expanded in the message center. |
179 | 179 |
180 // A proxy object that allows access back to the JavaScript object that | 180 // A proxy object that allows access back to the JavaScript object that |
181 // represents the notification, for firing events. | 181 // represents the notification, for firing events. |
182 scoped_refptr<NotificationDelegate> delegate_; | 182 scoped_refptr<NotificationDelegate> delegate_; |
183 }; | 183 }; |
184 | 184 |
185 } // namespace message_center | 185 } // namespace message_center |
186 | 186 |
187 #endif // UI_MESSAGE_CENTER_NOTIFICATION_H_ | 187 #endif // UI_MESSAGE_CENTER_NOTIFICATION_H_ |
OLD | NEW |