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

Unified Diff: content/renderer/renderer_blink_platform_impl.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/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..0db965215ef7f0fa5966f2cd76f0b12e79909a0d 100644
--- a/content/renderer/renderer_blink_platform_impl.h
+++ b/content/renderer/renderer_blink_platform_impl.h
@@ -35,6 +35,8 @@ namespace scheduler {
class RendererScheduler;
}
class WebCanvasCaptureHandler;
+class WebDeviceMotionData;
+class WebDeviceOrientationData;
class WebGraphicsContext3DProvider;
class WebMediaPlayer;
class WebMediaRecorderHandler;
@@ -45,8 +47,6 @@ class WebServiceWorkerCacheStorage;
namespace device {
class Gamepads;
-class MotionData;
-class OrientationData;
}
namespace service_manager {
@@ -229,11 +229,12 @@ 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(
- const device::OrientationData& data);
+ const blink::WebDeviceOrientationData& data);
WebDatabaseObserverImpl* web_database_observer_impl() {
return web_database_observer_impl_.get();

Powered by Google App Engine
This is Rietveld 408576698