| Index: content/browser/devtools/protocol/input_handler.cc
|
| diff --git a/content/browser/devtools/protocol/input_handler.cc b/content/browser/devtools/protocol/input_handler.cc
|
| index 05cff6195a1f7bfba9a53802410c89a60069e45e..d28a1e4b316c184735756928204a24e747f321ee 100644
|
| --- a/content/browser/devtools/protocol/input_handler.cc
|
| +++ b/content/browser/devtools/protocol/input_handler.cc
|
| @@ -25,6 +25,9 @@ void InputHandler::SetRenderViewHost(RenderViewHostImpl* host) {
|
| host_ = host;
|
| }
|
|
|
| +void InputHandler::SetClient(scoped_ptr<DevToolsProtocolClient> client) {
|
| +}
|
| +
|
| Response InputHandler::EmulateTouchFromMouseEvent(const std::string& type,
|
| int x,
|
| int y,
|
| @@ -106,6 +109,40 @@ Response InputHandler::EmulateTouchFromMouseEvent(const std::string& type,
|
| return Response::OK();
|
| }
|
|
|
| +Response InputHandler::SynthesizePinchGesture(
|
| + DevToolsCommandId command_id,
|
| + int x,
|
| + int y,
|
| + double scale_factor,
|
| + const int* relative_speed,
|
| + const std::string* gesture_source_type) {
|
| + return Response::InternalError("Not yet implemented");
|
| +}
|
| +
|
| +Response InputHandler::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) {
|
| + return Response::InternalError("Not yet implemented");
|
| +}
|
| +
|
| +Response InputHandler::SynthesizeTapGesture(
|
| + DevToolsCommandId command_id,
|
| + int x,
|
| + int y,
|
| + const int* duration,
|
| + const int* tap_count,
|
| + const std::string* gesture_source_type) {
|
| + return Response::InternalError("Not yet implemented");
|
| +}
|
| +
|
| } // namespace input
|
| } // namespace devtools
|
| } // namespace content
|
|
|