Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1761)

Unified Diff: webkit/support/test_webkit_platform_support.cc

Issue 5222955109842944: Add plumbing for platform based Device Motion testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/support/test_webkit_platform_support.cc
diff --git a/webkit/support/test_webkit_platform_support.cc b/webkit/support/test_webkit_platform_support.cc
index 39d8f6535257e71a84dd747d564306793094fc1b..010972a9f68587fcb1f2bb4cf58b17f3cfacd0ba 100644
--- a/webkit/support/test_webkit_platform_support.cc
+++ b/webkit/support/test_webkit_platform_support.cc
@@ -355,6 +355,11 @@ void TestWebKitPlatformSupport::setGamepadData(
gamepad_data_ = data;
}
+void TestWebKitPlatformSupport::setDeviceMotionData(
+ const WebKit::WebDeviceMotionData& data) {
+ device_motion_data_ = data;
jochen (gone - plz use gerrit) 2013/07/15 13:55:08 unless you intend to use this in webkit unit tests
timvolodine 2013/07/16 11:53:44 Done.
+}
+
void TestWebKitPlatformSupport::GetPlugins(
bool refresh, std::vector<webkit::WebPluginInfo>* plugins) {
if (refresh)

Powered by Google App Engine
This is Rietveld 408576698