| Index: content/browser/devtools/protocol/page_handler.h
|
| diff --git a/content/browser/devtools/protocol/page_handler.h b/content/browser/devtools/protocol/page_handler.h
|
| index 4b5b14c63c553d5348d77124e35ce11c60b31352..6777a6ab4cdd29682fb782c5309556e625112c9e 100644
|
| --- a/content/browser/devtools/protocol/page_handler.h
|
| +++ b/content/browser/devtools/protocol/page_handler.h
|
| @@ -12,6 +12,7 @@
|
| #include "cc/output/compositor_frame_metadata.h"
|
| #include "content/browser/devtools/protocol/devtools_protocol_handler.h"
|
| #include "content/public/browser/readback_types.h"
|
| +#include "third_party/WebKit/public/web/WebDeviceEmulationParams.h"
|
|
|
| class SkBitmap;
|
|
|
| @@ -99,6 +100,7 @@ class PageHandler {
|
|
|
| private:
|
| void UpdateTouchEventEmulationState();
|
| + void UpdateDeviceEmulationState();
|
|
|
| void NotifyScreencastVisibility(bool visible);
|
| void InnerSwapCompositorFrame();
|
| @@ -120,9 +122,13 @@ class PageHandler {
|
| scoped_refptr<StopRecordingFramesResponse> response_data);
|
|
|
| bool enabled_;
|
| +
|
| bool touch_emulation_enabled_;
|
| std::string touch_emulation_configuration_;
|
|
|
| + bool device_emulation_enabled_;
|
| + blink::WebDeviceEmulationParams device_emulation_params_;
|
| +
|
| bool screencast_enabled_;
|
| std::string screencast_format_;
|
| int screencast_quality_;
|
|
|