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