| Index: content/browser/devtools/protocol/input_handler.h
|
| diff --git a/content/browser/devtools/protocol/input_handler.h b/content/browser/devtools/protocol/input_handler.h
|
| index edb71832eaf8f1a7a739fd9db76b93ee0a18a03d..062ad1e5493f9fce085307ed9b3e41043316275f 100644
|
| --- a/content/browser/devtools/protocol/input_handler.h
|
| +++ b/content/browser/devtools/protocol/input_handler.h
|
| @@ -22,6 +22,7 @@ class InputHandler {
|
| virtual ~InputHandler();
|
|
|
| void SetRenderViewHost(RenderViewHostImpl* host);
|
| + void SetClient(scoped_ptr<DevToolsProtocolClient> client);
|
|
|
| Response EmulateTouchFromMouseEvent(const std::string& type,
|
| int x,
|
| @@ -33,13 +34,38 @@ class InputHandler {
|
| int* modifiers,
|
| int* click_count);
|
|
|
| + Response SynthesizePinchGesture(DevToolsCommandId command_id,
|
| + int x,
|
| + int y,
|
| + double scale_factor,
|
| + const int* relative_speed,
|
| + const std::string* gesture_source_type);
|
| +
|
| + Response SynthesizeScrollGesture(DevToolsCommandId command_id,
|
| + int x,
|
| + int y,
|
| + const int* x_distance,
|
| + const int* y_distance,
|
| + const int* x_overscroll,
|
| + const int* y_overscroll,
|
| + const bool* prevent_fling,
|
| + const int* speed,
|
| + const std::string* gesture_source_type);
|
| +
|
| + Response SynthesizeTapGesture(DevToolsCommandId command_id,
|
| + int x,
|
| + int y,
|
| + const int* duration,
|
| + const int* tap_count,
|
| + const std::string* gesture_source_type);
|
| +
|
| private:
|
| RenderViewHostImpl* host_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(InputHandler);
|
| };
|
|
|
| -} // namespace inpue
|
| +} // namespace input
|
| } // namespace devtools
|
| } // namespace content
|
|
|
|
|