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

Side by Side Diff: content/browser/host_zoom_map_impl.h

Issue 197523002: Show Zoom Levels as content settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT Created 6 years, 9 months 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_HOST_ZOOM_MAP_IMPL_H_ 5 #ifndef CONTENT_BROWSER_HOST_ZOOM_MAP_IMPL_H_
6 #define CONTENT_BROWSER_HOST_ZOOM_MAP_IMPL_H_ 6 #define CONTENT_BROWSER_HOST_ZOOM_MAP_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 15 matching lines...) Expand all
26 public base::SupportsUserData::Data { 26 public base::SupportsUserData::Data {
27 public: 27 public:
28 HostZoomMapImpl(); 28 HostZoomMapImpl();
29 virtual ~HostZoomMapImpl(); 29 virtual ~HostZoomMapImpl();
30 30
31 // HostZoomMap implementation: 31 // HostZoomMap implementation:
32 virtual void CopyFrom(HostZoomMap* copy) OVERRIDE; 32 virtual void CopyFrom(HostZoomMap* copy) OVERRIDE;
33 virtual double GetZoomLevelForHostAndScheme( 33 virtual double GetZoomLevelForHostAndScheme(
34 const std::string& scheme, 34 const std::string& scheme,
35 const std::string& host) const OVERRIDE; 35 const std::string& host) const OVERRIDE;
36 virtual ZoomLevelVector GetAllZoomLevels() const OVERRIDE;
36 virtual void SetZoomLevelForHost( 37 virtual void SetZoomLevelForHost(
37 const std::string& host, 38 const std::string& host,
38 double level) OVERRIDE; 39 double level) OVERRIDE;
39 virtual void SetZoomLevelForHostAndScheme( 40 virtual void SetZoomLevelForHostAndScheme(
40 const std::string& scheme, 41 const std::string& scheme,
41 const std::string& host, 42 const std::string& host,
42 double level) OVERRIDE; 43 double level) OVERRIDE;
43 virtual double GetDefaultZoomLevel() const OVERRIDE; 44 virtual double GetDefaultZoomLevel() const OVERRIDE;
44 virtual void SetDefaultZoomLevel(double level) OVERRIDE; 45 virtual void SetDefaultZoomLevel(double level) OVERRIDE;
45 virtual scoped_ptr<Subscription> AddZoomLevelChangedCallback( 46 virtual scoped_ptr<Subscription> AddZoomLevelChangedCallback(
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 mutable base::Lock lock_; 97 mutable base::Lock lock_;
97 98
98 NotificationRegistrar registrar_; 99 NotificationRegistrar registrar_;
99 100
100 DISALLOW_COPY_AND_ASSIGN(HostZoomMapImpl); 101 DISALLOW_COPY_AND_ASSIGN(HostZoomMapImpl);
101 }; 102 };
102 103
103 } // namespace content 104 } // namespace content
104 105
105 #endif // CONTENT_BROWSER_HOST_ZOOM_MAP_IMPL_H_ 106 #endif // CONTENT_BROWSER_HOST_ZOOM_MAP_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/content_settings_handler.cc ('k') | content/browser/host_zoom_map_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698