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 CHROME_BROWSER_UI_ZOOM_CHROME_ZOOM_LEVEL_PREFS_H_ | 5 #ifndef CHROME_BROWSER_UI_ZOOM_CHROME_ZOOM_LEVEL_PREFS_H_ |
6 #define CHROME_BROWSER_UI_ZOOM_CHROME_ZOOM_LEVEL_PREFS_H_ | 6 #define CHROME_BROWSER_UI_ZOOM_CHROME_ZOOM_LEVEL_PREFS_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/observer_list.h" | 13 #include "base/observer_list.h" |
14 #include "base/prefs/json_pref_store.h" | 14 #include "components/prefs/json_pref_store.h" |
15 #include "base/prefs/pref_change_registrar.h" | 15 #include "components/prefs/pref_change_registrar.h" |
16 #include "base/prefs/pref_service.h" | 16 #include "components/prefs/pref_service.h" |
17 #include "base/prefs/pref_store.h" | 17 #include "components/prefs/pref_store.h" |
18 #include "content/public/browser/host_zoom_map.h" | 18 #include "content/public/browser/host_zoom_map.h" |
19 #include "content/public/browser/zoom_level_delegate.h" | 19 #include "content/public/browser/zoom_level_delegate.h" |
20 | 20 |
21 namespace base { | 21 namespace base { |
22 class DictionaryValue; | 22 class DictionaryValue; |
23 } | 23 } |
24 | 24 |
25 namespace ui_zoom { | 25 namespace ui_zoom { |
26 class ZoomEventManager; | 26 class ZoomEventManager; |
27 } | 27 } |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 base::WeakPtr<ui_zoom::ZoomEventManager> zoom_event_manager_; | 72 base::WeakPtr<ui_zoom::ZoomEventManager> zoom_event_manager_; |
73 content::HostZoomMap* host_zoom_map_; | 73 content::HostZoomMap* host_zoom_map_; |
74 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; | 74 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; |
75 std::string partition_key_; | 75 std::string partition_key_; |
76 base::CallbackList<void(void)> default_zoom_changed_callbacks_; | 76 base::CallbackList<void(void)> default_zoom_changed_callbacks_; |
77 | 77 |
78 DISALLOW_COPY_AND_ASSIGN(ChromeZoomLevelPrefs); | 78 DISALLOW_COPY_AND_ASSIGN(ChromeZoomLevelPrefs); |
79 }; | 79 }; |
80 | 80 |
81 #endif // CHROME_BROWSER_UI_ZOOM_CHROME_ZOOM_LEVEL_PREFS_H_ | 81 #endif // CHROME_BROWSER_UI_ZOOM_CHROME_ZOOM_LEVEL_PREFS_H_ |
OLD | NEW |