Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_PREFS_DELEGATE | |
| 6 #define CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_PREFS_DELEGATE | |
| 7 | |
| 8 #include "base/memory/ref_counted.h" | |
|
Fady Samuel
2014/08/13 19:45:43
Why is this here?
wjmaclean
2014/08/14 18:18:21
Cruft, removed.
| |
| 9 | |
| 10 class PrefService; | |
| 11 | |
| 12 namespace base { | |
| 13 class FilePath; | |
| 14 } // namespace base | |
| 15 | |
| 16 namespace content { | |
| 17 | |
| 18 class HostZoomMap; | |
| 19 | |
| 20 class ZoomLevelPrefsDelegate { | |
|
Fady Samuel
2014/08/13 19:45:43
This name is odd as it doesn't expose any particul
wjmaclean
2014/08/14 18:18:21
Done.
| |
| 21 public: | |
| 22 virtual void InitZoomLevels(const base::FilePath& file_path, | |
| 23 HostZoomMap* host_zoom_map) = 0; | |
| 24 virtual ~ZoomLevelPrefsDelegate() {} | |
| 25 | |
| 26 // Expose for tests. | |
| 27 virtual PrefService* GetPrefs() = 0; | |
| 28 }; | |
| 29 | |
| 30 } // namespace content | |
| 31 | |
| 32 #endif // CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_PREFS_DELEGATE | |
| OLD | NEW |