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

Unified Diff: content/browser/host_zoom_map_impl.h

Issue 809223006: Check temporary zoom status when sending zoom level in navigation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
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 f9002872e7c624a5fec63241d63fe1900e19fcc0..861d2dcdc50ccee69b4b85475b832f37060bc4f4 100644
--- a/content/browser/host_zoom_map_impl.h
+++ b/content/browser/host_zoom_map_impl.h
@@ -45,6 +45,8 @@ class CONTENT_EXPORT HostZoomMapImpl : public NON_EXPORTED_BASE(HostZoomMap),
void SetTemporaryZoomLevel(int render_process_id,
int render_view_id,
double level) override;
+ double GetTemporaryZoomLevel(int render_process_id,
+ int render_view_id) const override;
void ClearTemporaryZoomLevel(int render_process_id,
int render_view_id) override;
@@ -71,14 +73,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;
-
// NotificationObserver implementation.
void Observe(int type,
const NotificationSource& source,
« no previous file with comments | « no previous file | content/browser/loader/async_resource_handler.cc » ('j') | content/browser/loader/async_resource_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698