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

Unified Diff: content/browser/host_zoom_map_impl.h

Issue 2630583002: Add setting to isolate zoom changes by default. (Closed)
Patch Set: ... and tell closure_compiler. Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/zoom/zoom_prefs_delegate.h ('k') | content/public/browser/host_zoom_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/host_zoom_map_impl.h
diff --git a/content/browser/host_zoom_map_impl.h b/content/browser/host_zoom_map_impl.h
index ad4c07e16c4247885814cbccfe96454f79fcfd05..d708fc288f547843d306560699c11b188e38b272 100644
--- a/content/browser/host_zoom_map_impl.h
+++ b/content/browser/host_zoom_map_impl.h
@@ -48,6 +48,8 @@ class CONTENT_EXPORT HostZoomMapImpl : public NON_EXPORTED_BASE(HostZoomMap),
double level) override;
bool UsesTemporaryZoomLevel(int render_process_id,
int render_view_id) const override;
+ double GetTemporaryZoomLevel(int render_process_id,
+ int render_view_id) const override;
void SetTemporaryZoomLevel(int render_process_id,
int render_view_id,
double level) override;
@@ -80,14 +82,6 @@ class CONTENT_EXPORT HostZoomMapImpl : public NON_EXPORTED_BASE(HostZoomMap),
double level,
const std::string& host);
- // Returns the temporary zoom level that's only valid for the lifetime of
- // the given WebContents (i.e. isn't saved and doesn't affect other
- // WebContentses) if it exists, the default zoom level otherwise.
- //
- // This may be called on any thread.
- double GetTemporaryZoomLevel(int render_process_id,
- int render_view_id) const;
-
// Returns the zoom level regardless of whether it's temporary, host-keyed or
// scheme+host-keyed.
//
« no previous file with comments | « components/zoom/zoom_prefs_delegate.h ('k') | content/public/browser/host_zoom_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698