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..5258871721806f81bc9228ea4a8bf5c9f1bc2f78 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<Client> 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* xdistance, |
+ const int* ydistance, |
+ const int* xoverscroll, |
+ const int* yoverscroll, |
+ 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 |