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

Unified Diff: content/renderer/renderer_blink_platform_impl.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/renderer/renderer_blink_platform_impl.h
diff --git a/content/renderer/renderer_blink_platform_impl.h b/content/renderer/renderer_blink_platform_impl.h
index b931470c95ce8e10d8b528ab0eccefca0756cfd8..7b1bce9da4e7d755586f6f88eec10581c0d3835a 100644
--- a/content/renderer/renderer_blink_platform_impl.h
+++ b/content/renderer/renderer_blink_platform_impl.h
@@ -35,6 +35,7 @@ namespace scheduler {
class RendererScheduler;
}
class WebCanvasCaptureHandler;
+class WebDeviceMotionData;
class WebGraphicsContext3DProvider;
class WebMediaPlayer;
class WebMediaRecorderHandler;
@@ -45,7 +46,6 @@ class WebServiceWorkerCacheStorage;
namespace device {
class Gamepads;
-class MotionData;
class OrientationData;
}
@@ -229,7 +229,8 @@ class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
static bool SetSandboxEnabledForTesting(bool enable);
// Set MotionData to return when setDeviceMotionListener is invoked.
- static void SetMockDeviceMotionDataForTesting(const device::MotionData& data);
+ static void SetMockDeviceMotionDataForTesting(
+ const blink::WebDeviceMotionData& data);
// Set OrientationData to return when setDeviceOrientationListener
// is invoked.
static void SetMockDeviceOrientationDataForTesting(

Powered by Google App Engine
This is Rietveld 408576698