OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_ | 5 #ifndef COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_ |
6 #define COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_ | 6 #define COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_ |
7 | 7 |
8 #include "base/callback_list.h" | 8 #include "base/callback_list.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
10 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
11 #include "base/supports_user_data.h" | 12 #include "base/supports_user_data.h" |
12 #include "content/public/browser/host_zoom_map.h" | 13 #include "content/public/browser/host_zoom_map.h" |
13 | 14 |
14 namespace content { | 15 namespace content { |
15 class BrowserContext; | 16 class BrowserContext; |
16 } // namespace content | 17 } // namespace content |
17 | 18 |
18 namespace ui_zoom { | 19 namespace ui_zoom { |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 zoom_level_changed_callbacks_; | 63 zoom_level_changed_callbacks_; |
63 base::ObserverList<ZoomEventManagerObserver> observers_; | 64 base::ObserverList<ZoomEventManagerObserver> observers_; |
64 base::WeakPtrFactory<ZoomEventManager> weak_ptr_factory_; | 65 base::WeakPtrFactory<ZoomEventManager> weak_ptr_factory_; |
65 | 66 |
66 DISALLOW_COPY_AND_ASSIGN(ZoomEventManager); | 67 DISALLOW_COPY_AND_ASSIGN(ZoomEventManager); |
67 }; | 68 }; |
68 | 69 |
69 } // namespace ui_zoom | 70 } // namespace ui_zoom |
70 | 71 |
71 #endif // COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_ | 72 #endif // COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_ |
OLD | NEW |