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

Unified Diff: content/public/test/layouttest_support.h

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/public/test/layouttest_support.h
diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h
index 0d8962b882f3dd0523973e777b50d2bb899319ad..f23eafb34621394744ac5f3828ebfa390830d2b2 100644
--- a/content/public/test/layouttest_support.h
+++ b/content/public/test/layouttest_support.h
@@ -18,6 +18,8 @@
class GURL;
namespace blink {
+class WebDeviceMotionData;
+class WebDeviceOrientationData;
class WebInputEvent;
class WebLocalFrame;
struct WebSize;
@@ -27,11 +29,6 @@ class WebWidget;
class WebURLResponse;
}
-namespace device {
-class MotionData;
-class OrientationData;
-}
-
namespace gfx {
class ICCProfile;
}
@@ -107,13 +104,13 @@ void SetMockGamepadProvider(std::unique_ptr<RendererGamepadProvider> provider);
// a listener through BlinkPlatformImpl::setDeviceLightListener().
void SetMockDeviceLightData(const double data);
-// Sets MotionData that should be used when registering
+// Sets WebDeviceMotionData that should be used when registering
// a listener through BlinkPlatformImpl::setDeviceMotionListener().
-void SetMockDeviceMotionData(const device::MotionData& data);
+void SetMockDeviceMotionData(const blink::WebDeviceMotionData& data);
-// Sets OrientationData that should be used when registering
+// Sets WebDeviceOrientationData that should be used when registering
// a listener through BlinkPlatformImpl::setDeviceOrientationListener().
-void SetMockDeviceOrientationData(const device::OrientationData& data);
+void SetMockDeviceOrientationData(const blink::WebDeviceOrientationData& data);
// Returns the length of the local session history of a render view.
int GetLocalSessionHistoryLength(RenderView* render_view);

Powered by Google App Engine
This is Rietveld 408576698