| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CONTROLLER_H_ | 5 #ifndef COMPONENTS_UI_ZOOM_ZOOM_CONTROLLER_H_ |
| 6 #define COMPONENTS_UI_ZOOM_ZOOM_CONTROLLER_H_ | 6 #define COMPONENTS_UI_ZOOM_ZOOM_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/gtest_prod_util.h" | |
| 11 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
| 14 #include "base/prefs/pref_member.h" | 13 #include "base/prefs/pref_member.h" |
| 15 #include "content/public/browser/host_zoom_map.h" | 14 #include "content/public/browser/host_zoom_map.h" |
| 16 #include "content/public/browser/web_contents_observer.h" | 15 #include "content/public/browser/web_contents_observer.h" |
| 17 #include "content/public/browser/web_contents_user_data.h" | 16 #include "content/public/browser/web_contents_user_data.h" |
| 18 | 17 |
| 19 class ZoomControllerTest; | 18 class ZoomControllerTest; |
| 20 | 19 |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 content::HostZoomMap* host_zoom_map_; | 193 content::HostZoomMap* host_zoom_map_; |
| 195 | 194 |
| 196 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; | 195 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; |
| 197 | 196 |
| 198 DISALLOW_COPY_AND_ASSIGN(ZoomController); | 197 DISALLOW_COPY_AND_ASSIGN(ZoomController); |
| 199 }; | 198 }; |
| 200 | 199 |
| 201 } // namespace ui_zoom | 200 } // namespace ui_zoom |
| 202 | 201 |
| 203 #endif // COMPONENTS_UI_ZOOM_ZOOM_CONTROLLER_H_ | 202 #endif // COMPONENTS_UI_ZOOM_ZOOM_CONTROLLER_H_ |
| OLD | NEW |