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

Unified Diff: content/test/layouttest_support.cc

Issue 2415083002: Move Device Sensors client files from Blink to //device/sensors client lib (Closed)
Patch Set: Rebase Created 3 years, 9 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
« no previous file with comments | « content/test/DEPS ('k') | device/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 04c03a7553d9a10915477771b25edf4602b6f971..53a8bf35ed95bd7136fc1575a6f391b87dbc17de 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -40,14 +40,14 @@
#include "content/shell/test_runner/web_frame_test_proxy.h"
#include "content/shell/test_runner/web_view_test_proxy.h"
#include "content/shell/test_runner/web_widget_test_proxy.h"
+#include "device/sensors/public/cpp/motion_data.h"
+#include "device/sensors/public/cpp/orientation_data.h"
#include "gpu/ipc/service/image_transport_surface.h"
#include "services/ui/public/cpp/gpu/context_provider_command_buffer.h"
#include "third_party/WebKit/public/platform/WebFloatRect.h"
#include "third_party/WebKit/public/platform/WebGamepads.h"
#include "third_party/WebKit/public/platform/WebInputEvent.h"
#include "third_party/WebKit/public/platform/WebRect.h"
-#include "third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionData.h"
-#include "third_party/WebKit/public/platform/modules/device_orientation/WebDeviceOrientationData.h"
#include "third_party/WebKit/public/platform/scheduler/test/renderer_scheduler_test_support.h"
#include "third_party/WebKit/public/web/WebHistoryItem.h"
#include "third_party/WebKit/public/web/WebView.h"
@@ -67,8 +67,8 @@
#include "ui/gfx/win/direct_write.h"
#endif
-using blink::WebDeviceMotionData;
-using blink::WebDeviceOrientationData;
+using device::MotionData;
+using device::OrientationData;
using blink::WebGamepad;
using blink::WebGamepads;
using blink::WebRect;
@@ -278,11 +278,11 @@ void SetMockDeviceLightData(const double data) {
RendererBlinkPlatformImpl::SetMockDeviceLightDataForTesting(data);
}
-void SetMockDeviceMotionData(const WebDeviceMotionData& data) {
+void SetMockDeviceMotionData(const MotionData& data) {
RendererBlinkPlatformImpl::SetMockDeviceMotionDataForTesting(data);
}
-void SetMockDeviceOrientationData(const WebDeviceOrientationData& data) {
+void SetMockDeviceOrientationData(const OrientationData& data) {
RendererBlinkPlatformImpl::SetMockDeviceOrientationDataForTesting(data);
}
« no previous file with comments | « content/test/DEPS ('k') | device/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698