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 d08eca43c5c162c97a6bbb35b033425dec136176..4141520208682f39eb21742dfd6522aeb6d04e1c 100644 |
--- a/content/shell/renderer/webkit_test_runner.cc |
+++ b/content/shell/renderer/webkit_test_runner.cc |
@@ -236,6 +236,18 @@ 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::setDeviceMotionData(const WebDeviceMotionData& data) { |
SetMockDeviceMotionData(data); |
} |