Chromium Code Reviews| Index: content/public/browser/zoom_level_prefs_delegate.h |
| diff --git a/content/public/browser/zoom_level_prefs_delegate.h b/content/public/browser/zoom_level_prefs_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d4bb95db24792cc33c350f5baef25202b6e4e42b |
| --- /dev/null |
| +++ b/content/public/browser/zoom_level_prefs_delegate.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_PREFS_DELEGATE |
| +#define CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_PREFS_DELEGATE |
| + |
| +#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.
|
| + |
| +class PrefService; |
| + |
| +namespace base { |
| +class FilePath; |
| +} // namespace base |
| + |
| +namespace content { |
| + |
| +class HostZoomMap; |
| + |
| +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.
|
| + public: |
| + virtual void InitZoomLevels(const base::FilePath& file_path, |
| + HostZoomMap* host_zoom_map) = 0; |
| + virtual ~ZoomLevelPrefsDelegate() {} |
| + |
| + // Expose for tests. |
| + virtual PrefService* GetPrefs() = 0; |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_PREFS_DELEGATE |