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

Unified Diff: webkit/support/webkit_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/webkit_support.cc
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc
index d1c8be35e99b786273c1b3e18176d8f00b3297f7..a9adb9121d84f574b04872ab8b43bac742fd22f0 100644
--- a/webkit/support/webkit_support.cc
+++ b/webkit/support/webkit_support.cc
@@ -695,4 +695,8 @@ void SetGamepadData(const WebKit::WebGamepads& pads) {
test_environment->webkit_platform_support()->setGamepadData(pads);
}
+void SetDeviceMotionData(const WebKit::WebDeviceMotionData& data) {
+ test_environment->webkit_platform_support()->setDeviceMotionData(data);
+}
+
} // namespace webkit_support
« webkit/support/test_webkit_platform_support.cc ('K') | « webkit/support/webkit_support.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698