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 87d00a95cece0336ec946738c3c90d149b1a7b18..1126d563aacaf8308cb0c9e764457fa764d71136 100644 |
--- a/content/shell/renderer/webkit_test_runner.cc |
+++ b/content/shell/renderer/webkit_test_runner.cc |
@@ -64,6 +64,7 @@ using WebKit::Platform; |
using WebKit::WebArrayBufferView; |
using WebKit::WebContextMenuData; |
using WebKit::WebDevToolsAgent; |
+using WebKit::WebDeviceMotionData; |
using WebKit::WebDeviceOrientation; |
using WebKit::WebElement; |
using WebKit::WebFrame; |
@@ -211,6 +212,10 @@ void WebKitTestRunner::setGamepadData(const WebGamepads& gamepads) { |
SetMockGamepads(gamepads); |
} |
+void WebKitTestRunner::setDeviceMotionData(const WebDeviceMotionData& data) { |
+ SetMockDeviceMotionData(data); |
+} |
+ |
void WebKitTestRunner::printMessage(const std::string& message) { |
Send(new ShellViewHostMsg_PrintMessage(routing_id(), message)); |
} |