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

Unified Diff: Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h

Issue 14460010: Implement the Blink part of the Device Motion API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: made WebDeviceMotionData more "POD-ish" Created 7 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: Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h
diff --git a/Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h b/Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h
index e8f0c80bb47740c27f76c3034221e74c0e5486eb..13cfc94a510d4d7a2f386415227947b12b9ea654 100644
--- a/Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h
+++ b/Tools/DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h
@@ -88,6 +88,7 @@ class SkCanvas;
namespace WebTestRunner {
+class MockWebDeviceMotionHandler;
class MockWebSpeechInputController;
class MockWebSpeechRecognizer;
class SpellCheckClient;
@@ -123,6 +124,7 @@ public:
WebKit::WebGeolocationClientMock* geolocationClientMock();
MockWebSpeechInputController* speechInputControllerMock();
MockWebSpeechRecognizer* speechRecognizerMock();
+ MockWebDeviceMotionHandler* deviceMotionHandlerMock();
#endif
protected:
@@ -229,6 +231,7 @@ private:
std::auto_ptr<WebKit::WebDeviceOrientationClientMock> m_deviceOrientationClient;
std::auto_ptr<MockWebSpeechRecognizer> m_speechRecognizer;
std::auto_ptr<MockWebSpeechInputController> m_speechInputController;
+ std::auto_ptr<MockWebDeviceMotionHandler> m_deviceMotionHandler;
private:
WebTestProxyBase(WebTestProxyBase&);

Powered by Google App Engine
This is Rietveld 408576698