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_VIEWS_MESSAGE_POPUP_COLLECTION_H_ | 5 #ifndef UI_MESSAGE_CENTER_VIEWS_MESSAGE_POPUP_COLLECTION_H_ |
6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_POPUP_COLLECTION_H_ | 6 #define UI_MESSAGE_CENTER_VIEWS_MESSAGE_POPUP_COLLECTION_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/gtest_prod_util.h" | |
13 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
14 #include "base/timer/timer.h" | 13 #include "base/timer/timer.h" |
15 #include "ui/gfx/geometry/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
16 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
17 #include "ui/message_center/message_center_export.h" | 16 #include "ui/message_center/message_center_export.h" |
18 #include "ui/message_center/message_center_observer.h" | 17 #include "ui/message_center/message_center_observer.h" |
19 #include "ui/message_center/views/message_center_controller.h" | 18 #include "ui/message_center/views/message_center_controller.h" |
20 #include "ui/message_center/views/toast_contents_view.h" | 19 #include "ui/message_center/views/toast_contents_view.h" |
21 #include "ui/views/widget/widget_observer.h" | 20 #include "ui/views/widget/widget_observer.h" |
22 | 21 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 177 |
179 // Gives out weak pointers to toast contents views which have an unrelated | 178 // Gives out weak pointers to toast contents views which have an unrelated |
180 // lifetime. Must remain the last member variable. | 179 // lifetime. Must remain the last member variable. |
181 base::WeakPtrFactory<MessagePopupCollection> weak_factory_; | 180 base::WeakPtrFactory<MessagePopupCollection> weak_factory_; |
182 | 181 |
183 DISALLOW_COPY_AND_ASSIGN(MessagePopupCollection); | 182 DISALLOW_COPY_AND_ASSIGN(MessagePopupCollection); |
184 }; | 183 }; |
185 | 184 |
186 } // namespace message_center | 185 } // namespace message_center |
187 | 186 |
188 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_POPUP_COLLECTION_H_ | 187 #endif // UI_MESSAGE_CENTER_VIEWS_MESSAGE_POPUP_COLLECTION_H_ |
OLD | NEW |