Index: content/shell/renderer/webkit_test_runner.cc |
diff --git a/content/shell/renderer/webkit_test_runner.cc b/content/shell/renderer/webkit_test_runner.cc |
index b251935744037a800a3095edb9c25873da1f0851..f6247ba24f21492e87e43206c0f6fce7c7bf2055 100644 |
--- a/content/shell/renderer/webkit_test_runner.cc |
+++ b/content/shell/renderer/webkit_test_runner.cc |
@@ -201,20 +201,9 @@ void WebKitTestRunner::setEditCommand(const std::string& name, |
render_view()->SetEditCommandForNextKeyEvent(name, value); |
} |
-void WebKitTestRunner::setGamepadData(const WebGamepads& gamepads) { |
- SetMockGamepads(gamepads); |
-} |
- |
-void WebKitTestRunner::didConnectGamepad( |
- int index, |
- const blink::WebGamepad& gamepad) { |
- MockGamepadConnected(index, gamepad); |
-} |
- |
-void WebKitTestRunner::didDisconnectGamepad( |
- int index, |
- const blink::WebGamepad& gamepad) { |
- MockGamepadDisconnected(index, gamepad); |
+void WebKitTestRunner::setGamepadProvider( |
+ RendererGamepadProvider* provider) { |
+ SetMockGamepadProvider(provider); |
} |
void WebKitTestRunner::setDeviceMotionData(const WebDeviceMotionData& data) { |