| Index: Tools/DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp
|
| diff --git a/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp b/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp
|
| index d017d0efa1c8176d6d6bb32969b077a59ae17394..3e1574ec5b3b1c369857f1f11aee3e0172dc494c 100644
|
| --- a/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp
|
| +++ b/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "AccessibilityControllerChromium.h"
|
| #include "EventSender.h"
|
| +#include "MockWebDeviceMotionHandler.h"
|
| #include "MockWebSpeechInputController.h"
|
| #include "MockWebSpeechRecognizer.h"
|
| #include "SpellCheckClient.h"
|
| @@ -686,6 +687,13 @@ WebDeviceOrientationClientMock* WebTestProxyBase::deviceOrientationClientMock()
|
| return m_deviceOrientationClient.get();
|
| }
|
|
|
| +MockWebDeviceMotionHandler* WebTestProxyBase::deviceMotionHandlerMock()
|
| +{
|
| + if (!m_deviceMotionHandler.get())
|
| + m_deviceMotionHandler.reset(new MockWebDeviceMotionHandler());
|
| + return m_deviceMotionHandler.get();
|
| +}
|
| +
|
| #if ENABLE_INPUT_SPEECH
|
| MockWebSpeechInputController* WebTestProxyBase::speechInputControllerMock()
|
| {
|
|
|