| 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 99d4ae92b5e32e25117adfd9436db13ed04e6ad5..7707a2f827a14160804d48fccdb4e6e497f569c9 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 "MockWebDeviceMotionListener.h"
|
| #include "MockWebSpeechInputController.h"
|
| #include "MockWebSpeechRecognizer.h"
|
| #include "SpellCheckClient.h"
|
| @@ -686,6 +687,13 @@ WebDeviceOrientationClientMock* WebTestProxyBase::deviceOrientationClientMock()
|
| return m_deviceOrientationClient.get();
|
| }
|
|
|
| +MockWebDeviceMotionListener* WebTestProxyBase::deviceMotionListenerMock()
|
| +{
|
| + if (!m_deviceMotionListener.get())
|
| + m_deviceMotionListener.reset(new MockWebDeviceMotionListener());
|
| + return m_deviceMotionListener.get();
|
| +}
|
| +
|
| #if ENABLE_INPUT_SPEECH
|
| MockWebSpeechInputController* WebTestProxyBase::speechInputControllerMock()
|
| {
|
|
|