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

Unified Diff: content/shell/test_runner/web_test_delegate.h

Issue 2415083002: Move Device Sensors client files from Blink to //device/sensors client lib (Closed)
Patch Set: Rebase Created 3 years, 9 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
« no previous file with comments | « content/shell/test_runner/test_runner_for_specific_view.cc ('k') | content/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/test_runner/web_test_delegate.h
diff --git a/content/shell/test_runner/web_test_delegate.h b/content/shell/test_runner/web_test_delegate.h
index 573d5a3bf6ca2c9f543c5816a759a8b7b141f731..1b02c89769ac96737e85f6a69a6d810d70cf81ed 100644
--- a/content/shell/test_runner/web_test_delegate.h
+++ b/content/shell/test_runner/web_test_delegate.h
@@ -23,8 +23,6 @@ class DictionaryValue;
}
namespace blink {
-class WebDeviceMotionData;
-class WebDeviceOrientationData;
class WebFrame;
class WebInputEvent;
class WebLocalFrame;
@@ -41,6 +39,11 @@ namespace cc {
class SharedBitmapManager;
}
+namespace device {
+class MotionData;
+class OrientationData;
+}
+
namespace test_runner {
class GamepadController;
@@ -64,11 +67,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 stderr (not saved to expected output files, for debugging
// only).
« no previous file with comments | « content/shell/test_runner/test_runner_for_specific_view.cc ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698