| 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..b1f6f8413b15964a337718c8476e450189f914fa 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 RenderWidgetHostImpl;
|
| +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 SetWebContents(WebContentsImpl* web_contents);
|
| void Detached();
|
|
|
| Response SetGeolocationOverride(double* latitude,
|
| @@ -52,6 +53,7 @@ class EmulationHandler : public page::PageHandler::ScreencastListener {
|
| Response ClearDeviceMetricsOverride();
|
|
|
| private:
|
| + RenderWidgetHostImpl* GetRenderWidgetHost();
|
| 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_;
|
| + WebContentsImpl* web_contents_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(EmulationHandler);
|
| };
|
|
|