Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(895)

Side by Side Diff: content/public/browser/zoom_level_delegate.h

Issue 393133002: Migrate HostZoomMap to live in StoragePartition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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;
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
18 // HostZoomMap.
19 class ZoomLevelDelegate {
20 public:
21 virtual void InitPrefsAndCopyToHostZoomMap(const base::FilePath& file_path,
Fady Samuel 2014/11/03 22:11:11 Remove prefs from name. Prefs should not be a conc
wjmaclean 2014/11/04 19:34:25 Done.
22 HostZoomMap* host_zoom_map) = 0;
23 virtual ~ZoomLevelDelegate() {}
24 };
25
26 } // namespace content
27
28 #endif // CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698