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

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 287093002: Remove ViewMsg_SetZoomLevel (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
Index: content/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index 4e3d5ced4225495b3ff22b7064a1eddb2f792c57..b57f2f284e6145d8596434812853dc72e1df4805 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -453,6 +453,10 @@ class CONTENT_EXPORT RenderViewHostImpl
// currently using it.
int ref_count() { return frames_ref_count_; }
+ bool uses_temporary_zoom_settings() const {
+ return uses_temporary_zoom_settings_;
+ }
+
// NOTE: Do not add functions that just send an IPC message that are called in
// one or two places. Have the caller send the IPC message directly (unless
// the caller places are in different platforms, in which case it's better
@@ -514,7 +518,8 @@ class CONTENT_EXPORT RenderViewHostImpl
const std::vector<AccessibilityHostMsg_EventParams>& params);
void OnAccessibilityLocationChanges(
const std::vector<AccessibilityHostMsg_LocationChangeParams>& params);
- void OnDidZoomURL(double zoom_level, bool remember, const GURL& url);
+ void OnDidCreateDocument(bool is_plugin_document);
+ void OnDidZoomURL(double zoom_level, const GURL& url);
void OnRunFileChooser(const FileChooserParams& params);
void OnFocusedNodeTouched(bool editable);
@@ -642,6 +647,9 @@ class CONTENT_EXPORT RenderViewHostImpl
// True if the current focused element is editable.
bool is_focused_element_editable_;
+ // Used to keep track of whether the view document is a pluginDocument.
+ bool uses_temporary_zoom_settings_;
+
DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
};

Powered by Google App Engine
This is Rietveld 408576698