| 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 1029002c4c580ed9a9f517e0e3b01578426d3804..8a98ce65c80e2be5374eb8cf55b843544b5b884e 100644
|
| --- a/content/browser/devtools/protocol/emulation_handler.h
|
| +++ b/content/browser/devtools/protocol/emulation_handler.h
|
| @@ -28,6 +28,7 @@ class EmulationHandler {
|
| ~EmulationHandler();
|
|
|
| void SetRenderFrameHost(RenderFrameHostImpl* host);
|
| + void SetClient(std::unique_ptr<Client> client) { }
|
| void Detached();
|
|
|
| Response SetGeolocationOverride(double* latitude,
|
| @@ -57,6 +58,15 @@ class EmulationHandler {
|
|
|
| Response SetVisibleSize(int width, int height);
|
|
|
| + Response ForceViewport(double x, double y, double scale);
|
| + Response ResetViewport();
|
| + Response ResetPageScaleFactor();
|
| + Response SetPageScaleFactor(double page_scale_factor);
|
| + Response SetScriptExecutionDisabled(bool disabled);
|
| + Response SetEmulatedMedia(const std::string& media);
|
| + Response SetCPUThrottlingRate(double rate);
|
| + Response SetVirtualTimePolicy(const std::string& policy, const int* budget);
|
| +
|
| private:
|
| WebContentsImpl* GetWebContents();
|
| void UpdateTouchEventEmulationState();
|
|
|