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

Unified Diff: components/test_runner/web_test_delegate.h

Issue 2415083002: Move Device Sensors client files from Blink to //device/sensors client lib (Closed)
Patch Set: Fix gn check Created 4 years, 2 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: components/test_runner/web_test_delegate.h
diff --git a/components/test_runner/web_test_delegate.h b/components/test_runner/web_test_delegate.h
index 820d06b94069fd6d63d4e92e717692cf3f68050c..3e2ce39f10c5bbf09773869e6e2ae215686f4ff4 100644
--- a/components/test_runner/web_test_delegate.h
+++ b/components/test_runner/web_test_delegate.h
@@ -24,8 +24,6 @@ class DictionaryValue;
}
namespace blink {
-class WebDeviceMotionData;
-class WebDeviceOrientationData;
class WebLocalFrame;
class WebGamepad;
class WebGamepads;
@@ -50,6 +48,11 @@ class TextureLayerClient;
class SharedBitmapManager;
}
+namespace device {
+class MotionData;
+class OrientationData;
+}
+
namespace test_runner {
class DeviceLightData;
@@ -74,11 +77,11 @@ class WebTestDelegate {
virtual void SetDeviceLightData(const double data) = 0;
// Set data to return when registering via
// Platform::setDeviceMotionListener().
- virtual void SetDeviceMotionData(const blink::WebDeviceMotionData& data) = 0;
+ virtual void SetDeviceMotionData(const device::MotionData& data) = 0;
// Set data to return when registering via
// Platform::setDeviceOrientationListener().
virtual void SetDeviceOrientationData(
- const blink::WebDeviceOrientationData& data) = 0;
+ const device::OrientationData& data) = 0;
// Add a message to the text dump for the layout test.
virtual void PrintMessage(const std::string& message) = 0;

Powered by Google App Engine
This is Rietveld 408576698