Index: content/renderer/render_frame_impl.h |
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h |
index fd894473e8e9dc48868ca2fa0e228c8269196a80..a2675f253887269433cd67a2c3de5d07fae84b53 100644 |
--- a/content/renderer/render_frame_impl.h |
+++ b/content/renderer/render_frame_impl.h |
@@ -22,6 +22,7 @@ |
#include "base/process/process_handle.h" |
#include "build/build_config.h" |
#include "content/common/accessibility_mode_enums.h" |
+#include "content/common/frame_host.mojom.h" |
#include "content/common/frame_message_enums.h" |
#include "content/common/mojo/service_registry_impl.h" |
#include "content/public/common/console_message_level.h" |
@@ -682,6 +683,7 @@ class CONTENT_EXPORT RenderFrameImpl |
FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate); |
FRIEND_TEST_ALL_PREFIXES(RendererAccessibilityTest, |
AccessibilityMessagesQueueWhileSwappedOut); |
+ FRIEND_TEST_ALL_PREFIXES(RenderFrameImplTest, ZoomLimit); |
// A wrapper class used as the callback for JavaScript executed |
// in an isolated world. |
@@ -1005,6 +1007,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 |
@@ -1198,6 +1202,9 @@ class CONTENT_EXPORT RenderFrameImpl |
std::unique_ptr<blink::WebBluetooth> bluetooth_; |
+ HostZoomLevels host_zoom_levels_; |
+ mojom::FrameHostPtr frame_host_; |
+ |
// Manages play, pause notifications for WebMediaPlayer implementations; its |
// lifetime is tied to the RenderFrame via the RenderFrameObserver interface. |
media::RendererWebMediaPlayerDelegate* media_player_delegate_; |