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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 2885203004: Refactor content/renderer/device_sensors to use device/generic_sensor instead of device/sensors (Closed)
Patch Set: updated content/renderer/BUILD.gn Created 3 years, 7 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: content/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index e3b92cc8d600cb1d0a60780755bf5385d4b4e3a8..9be302c07a274bf597da5b63a65f7f7afcb6c7ea 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -100,8 +100,6 @@ using blink::Platform;
using blink::WebArrayBufferView;
using blink::WebContextMenuData;
using blink::WebDevToolsAgent;
-using device::MotionData;
-using device::OrientationData;
using blink::WebElement;
using blink::WebLocalFrame;
using blink::WebHistoryItem;
@@ -278,11 +276,13 @@ void BlinkTestRunner::SetGamepadProvider(
SetMockGamepadProvider(std::move(provider));
}
-void BlinkTestRunner::SetDeviceMotionData(const MotionData& data) {
+void BlinkTestRunner::SetDeviceMotionData(
+ const blink::WebDeviceMotionData& data) {
SetMockDeviceMotionData(data);
}
-void BlinkTestRunner::SetDeviceOrientationData(const OrientationData& data) {
+void BlinkTestRunner::SetDeviceOrientationData(
+ const blink::WebDeviceOrientationData& data) {
SetMockDeviceOrientationData(data);
}

Powered by Google App Engine
This is Rietveld 408576698