Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_DELEGATE_H_ | |
| 6 #define CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_DELEGATE_H_ | |
| 7 | |
| 8 namespace base { | |
| 9 class FilePath; | |
|
Charlie Reis
2014/11/04 23:43:17
Unused?
wjmaclean
2014/11/05 21:55:43
Done.
Thanks for spotting!
| |
| 10 } // namespace base | |
| 11 | |
| 12 namespace content { | |
| 13 | |
| 14 class HostZoomMap; | |
| 15 | |
| 16 // An interface to allow the client to manage a (1) default zoom level, and | |
| 17 // (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.
| |
| 18 // HostZoomMap. | |
| 19 class ZoomLevelDelegate { | |
| 20 public: | |
| 21 virtual void InitHostZoomMap(HostZoomMap* host_zoom_map) = 0; | |
| 22 virtual ~ZoomLevelDelegate() {} | |
| 23 }; | |
| 24 | |
| 25 } // namespace content | |
| 26 | |
| 27 #endif // CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_DELEGATE_H_ | |
| OLD | NEW |