Index: content/renderer/render_frame_impl.h |
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h |
index b6704419634c20d08c3a8fae2876f96ae7df723a..5cfe6c3fd75dec04b625040310279867f1469007 100644 |
--- a/content/renderer/render_frame_impl.h |
+++ b/content/renderer/render_frame_impl.h |
@@ -706,6 +706,7 @@ class CONTENT_EXPORT RenderFrameImpl |
FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate); |
FRIEND_TEST_ALL_PREFIXES(RenderAccessibilityImplTest, |
AccessibilityMessagesQueueWhileSwappedOut); |
+ FRIEND_TEST_ALL_PREFIXES(RenderFrameImplTest, ZoomLimit); |
// A wrapper class used as the callback for JavaScript executed |
// in an isolated world. |
@@ -1038,6 +1039,8 @@ class CONTENT_EXPORT RenderFrameImpl |
void InitializeBlameContext(RenderFrameImpl* parent_frame); |
+ void OnGotZoomLevel(const GURL& url, double zoom_level); |
+ |
// Stores the WebLocalFrame we are associated with. This is null from the |
// constructor until BindToWebFrame is called, and it is null after |
// frameDetached is called until destruction (which is asynchronous in the |
@@ -1227,6 +1230,8 @@ class CONTENT_EXPORT RenderFrameImpl |
std::unique_ptr<blink::WebBluetooth> bluetooth_; |
+ HostZoomLevels host_zoom_levels_; |
+ |
// Manages play, pause notifications for WebMediaPlayer implementations; its |
// lifetime is tied to the RenderFrame via the RenderFrameObserver interface. |
media::RendererWebMediaPlayerDelegate* media_player_delegate_; |