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

Unified Diff: content/shell/test_runner/web_test_delegate.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/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 845889ce6da1c1c026341f248e1a5a7556152f28..8ea698d3ca1763f83722cd9041b14c82f37f2f15 100644
--- a/content/shell/test_runner/web_test_delegate.h
+++ b/content/shell/test_runner/web_test_delegate.h
@@ -23,6 +23,7 @@ class DictionaryValue;
}
namespace blink {
+class WebDeviceMotionData;
class WebFrame;
class WebInputEvent;
class WebLocalFrame;
@@ -40,7 +41,6 @@ class SharedBitmapManager;
}
namespace device {
-class MotionData;
class OrientationData;
}
@@ -64,7 +64,7 @@ class WebTestDelegate {
// Set data to return when registering via
// Platform::setDeviceMotionListener().
- virtual void SetDeviceMotionData(const device::MotionData& data) = 0;
+ virtual void SetDeviceMotionData(const blink::WebDeviceMotionData& data) = 0;
// Set data to return when registering via
// Platform::setDeviceOrientationListener().
virtual void SetDeviceOrientationData(

Powered by Google App Engine
This is Rietveld 408576698