Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index 55508b89efa69eb873a8875113bad25ee32e01c0..f9417e9308baae40525e4fcddd999d94cfdae13e 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -511,6 +511,9 @@ class CONTENT_EXPORT RenderViewImpl |
TopControlsState current, |
bool animate) OVERRIDE; |
#endif |
+ virtual bool UsesTemporaryZoomLevel() const OVERRIDE; |
Fady Samuel
2014/06/10 20:05:14
Duplicate comment: This doesn't need to be virtual
wjmaclean
2014/06/10 20:18:55
If it's not part of the content API, then I need t
|
+ |
+ void set_uses_temporary_zoom_level(bool); |
// Please do not add your stuff randomly to the end here. If there is an |
// appropriate section, add it there. If not, there are some random functions |
@@ -744,6 +747,8 @@ class CONTENT_EXPORT RenderViewImpl |
void OnSetRendererPrefs(const RendererPreferences& renderer_prefs); |
void OnSetWebUIProperty(const std::string& name, const std::string& value); |
void OnSetZoomLevelForLoadingURL(const GURL& url, double zoom_level); |
+ void OnSetZoomLevelForView(double level); |
+ void OnSetUsesTemporaryZoomLevel(bool uses_temporary_zoom_level); |
void OnStop(); |
void OnStopFinding(StopFindAction action); |
void OnSuppressDialogsUntilSwapOut(); |
@@ -1019,6 +1024,9 @@ class CONTENT_EXPORT RenderViewImpl |
// The next target URL we want to send to the browser. |
GURL pending_target_url_; |
+ // Indicates whether this view overrides url-based zoom settings. |
+ bool uses_temporary_zoom_level_; |
+ |
#if defined(OS_ANDROID) |
// Cache the old top controls state constraints. Used when updating |
// current value only without altering the constraints. |