OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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_VIEWS_MESSAGE_LIST_VIEW_H_ | 5 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_LIST_VIEW_H_ |
6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_LIST_VIEW_H_ | 6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_LIST_VIEW_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "ui/compositor/paint_context.h" | 12 #include "ui/compositor/paint_context.h" |
13 #include "ui/gfx/geometry/rect.h" | 13 #include "ui/gfx/geometry/rect.h" |
14 #include "ui/gfx/geometry/size.h" | 14 #include "ui/gfx/geometry/size.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.h" | 16 #include "ui/message_center/notification.h" |
17 #include "ui/views/animation/bounds_animator.h" | 17 #include "ui/views/animation/bounds_animator.h" |
18 #include "ui/views/animation/bounds_animator_observer.h" | 18 #include "ui/views/animation/bounds_animator_observer.h" |
19 #include "ui/views/view.h" | 19 #include "ui/views/view.h" |
20 | 20 |
21 namespace gfx { | |
22 class Canvas; | |
23 } | |
24 | |
25 namespace ui { | 21 namespace ui { |
26 class Layer; | 22 class Layer; |
27 } | 23 } |
28 | 24 |
29 namespace message_center { | 25 namespace message_center { |
30 | 26 |
31 class MessageCenterView; | 27 class MessageCenterView; |
32 class MessageView; | 28 class MessageView; |
33 | 29 |
34 // Displays a list of messages for rich notifications. Functions as an array of | 30 // Displays a list of messages for rich notifications. Functions as an array of |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // If true, the message loop will be quitted after the animation finishes. | 101 // If true, the message loop will be quitted after the animation finishes. |
106 // This is just for tests and has no setter. | 102 // This is just for tests and has no setter. |
107 bool quit_message_loop_after_animation_for_test_; | 103 bool quit_message_loop_after_animation_for_test_; |
108 | 104 |
109 base::WeakPtrFactory<MessageListView> weak_ptr_factory_; | 105 base::WeakPtrFactory<MessageListView> weak_ptr_factory_; |
110 DISALLOW_COPY_AND_ASSIGN(MessageListView); | 106 DISALLOW_COPY_AND_ASSIGN(MessageListView); |
111 }; | 107 }; |
112 | 108 |
113 } // namespace message_center | 109 } // namespace message_center |
114 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_LIST_VIEW_H_ | 110 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_LIST_VIEW_H_ |
OLD | NEW |