Index: content/browser/devtools/protocol/emulation_handler.h |
diff --git a/content/browser/devtools/protocol/emulation_handler.h b/content/browser/devtools/protocol/emulation_handler.h |
index 8f14b2f66b918e4df1d838c4138a12bd6ec32811..5303663c107172717f95695116617f660109a87b 100644 |
--- a/content/browser/devtools/protocol/emulation_handler.h |
+++ b/content/browser/devtools/protocol/emulation_handler.h |
@@ -11,7 +11,8 @@ |
namespace content { |
-class RenderViewHostImpl; |
+class RenderFrameHostImpl; |
+class WebContentsImpl; |
namespace devtools { |
@@ -29,7 +30,7 @@ class EmulationHandler : public page::PageHandler::ScreencastListener { |
// page::PageHandler::ScreencastListener implementation. |
void ScreencastEnabledChanged() override; |
- void SetRenderViewHost(RenderViewHostImpl* host); |
+ void SetRenderFrameHost(RenderFrameHostImpl* host); |
void Detached(); |
Response SetGeolocationOverride(double* latitude, |
@@ -52,6 +53,7 @@ class EmulationHandler : public page::PageHandler::ScreencastListener { |
Response ClearDeviceMetricsOverride(); |
private: |
+ WebContentsImpl* GetWebContents(); |
void UpdateTouchEventEmulationState(); |
void UpdateDeviceEmulationState(); |
@@ -62,7 +64,7 @@ class EmulationHandler : public page::PageHandler::ScreencastListener { |
blink::WebDeviceEmulationParams device_emulation_params_; |
page::PageHandler* page_handler_; |
- RenderViewHostImpl* host_; |
+ RenderFrameHostImpl* host_; |
DISALLOW_COPY_AND_ASSIGN(EmulationHandler); |
}; |