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

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

Issue 2896583005: Reland: Refactor DeviceMotionEventPump to use //device/generic_sensor instead of //device/sensors (Closed)
Patch Set: updated test code 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..06dce07f7006a5a468d8ef16ee60eb3294f5623a 100644
--- a/content/public/test/layouttest_support.h
+++ b/content/public/test/layouttest_support.h
@@ -18,6 +18,7 @@
class GURL;
namespace blink {
+class WebDeviceMotionData;
class WebInputEvent;
class WebLocalFrame;
struct WebSize;
@@ -28,7 +29,6 @@ class WebURLResponse;
}
namespace device {
-class MotionData;
class OrientationData;
}
@@ -107,9 +107,9 @@ 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
// a listener through BlinkPlatformImpl::setDeviceOrientationListener().

Powered by Google App Engine
This is Rietveld 408576698