Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index 755d63abe50c30c1a2f4b185cda5184042e32952..10d9ebe4ead69633007cd75d57d3fdb87564f89f 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -544,6 +544,7 @@ class CONTENT_EXPORT RenderViewImpl |
FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp); |
#endif |
FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndOffset); |
+ FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ZoomLimit); |
FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, NavigateFrame); |
FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, BasicRenderFrame); |
FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, TextInputTypeWithPepper); |
@@ -559,6 +560,8 @@ class CONTENT_EXPORT RenderViewImpl |
FRIEND_TEST_ALL_PREFIXES(RenderViewImplScaleFactorTest, |
GetCompositionCharacterBoundsTest); |
+ typedef std::map<GURL, double> HostZoomLevels; |
+ |
enum ErrorPageType { |
DNS_ERROR, |
HTTP_404, |
@@ -660,6 +663,7 @@ class CONTENT_EXPORT RenderViewImpl |
void OnSetPageEncoding(const std::string& encoding_name); |
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 OnSuppressDialogsUntilSwapOut(); |
void OnThemeChanged(); |
void OnUpdateTargetURLAck(); |
@@ -747,6 +751,8 @@ class CONTENT_EXPORT RenderViewImpl |
WebPreferences webkit_preferences_; |
RendererPreferences renderer_preferences_; |
+ HostZoomLevels host_zoom_levels_; |
+ |
// Whether content state (such as form state, scroll position and page |
// contents) should be sent to the browser immediately. This is normally |
// false, but set to true by some tests. |