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

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

Issue 2415083002: Move Device Sensors client files from Blink to //device/sensors client lib (Closed)
Patch Set: Really rebase Created 4 years, 2 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 b2d0a6de8fd400712147e665eeced1cc21eafd42..882cfa8202b4a226e348399b517aeb872ff37691 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -98,8 +98,8 @@ using blink::Platform;
using blink::WebArrayBufferView;
using blink::WebContextMenuData;
using blink::WebDevToolsAgent;
-using blink::WebDeviceMotionData;
-using blink::WebDeviceOrientationData;
+using device::MotionData;
+using device::OrientationData;
using blink::WebElement;
using blink::WebLocalFrame;
using blink::WebHistoryItem;
@@ -281,12 +281,11 @@ void BlinkTestRunner::SetDeviceLightData(const double data) {
SetMockDeviceLightData(data);
}
-void BlinkTestRunner::SetDeviceMotionData(const WebDeviceMotionData& data) {
+void BlinkTestRunner::SetDeviceMotionData(const MotionData& data) {
SetMockDeviceMotionData(data);
}
-void BlinkTestRunner::SetDeviceOrientationData(
- const WebDeviceOrientationData& data) {
+void BlinkTestRunner::SetDeviceOrientationData(const OrientationData& data) {
SetMockDeviceOrientationData(data);
}

Powered by Google App Engine
This is Rietveld 408576698