Chromium Code Reviews| Index: content/public/browser/zoom_level_delegate.h |
| diff --git a/content/public/browser/zoom_level_delegate.h b/content/public/browser/zoom_level_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..06cbf787d2c2b2cf0a312765239d2f72d3c7653f |
| --- /dev/null |
| +++ b/content/public/browser/zoom_level_delegate.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright 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_DELEGATE_H_ |
| +#define CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_DELEGATE_H_ |
| + |
| +namespace base { |
| +class FilePath; |
|
Charlie Reis
2014/11/04 23:43:17
Unused?
wjmaclean
2014/11/05 21:55:43
Done.
Thanks for spotting!
|
| +} // namespace base |
| + |
| +namespace content { |
| + |
| +class HostZoomMap; |
| + |
| +// An interface to allow the client to manage a (1) default zoom level, and |
| +// (2) per-host zoom levels. It can be used to load the latter into a |
|
Charlie Reis
2014/11/04 23:43:17
"It can be used" -> how? The only method on this
wjmaclean
2014/11/05 21:55:42
I've revised the comment to make it clearer.
|
| +// HostZoomMap. |
| +class ZoomLevelDelegate { |
| + public: |
| + virtual void InitHostZoomMap(HostZoomMap* host_zoom_map) = 0; |
| + virtual ~ZoomLevelDelegate() {} |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_DELEGATE_H_ |