Index: webkit/support/test_webkit_platform_support.h |
diff --git a/webkit/support/test_webkit_platform_support.h b/webkit/support/test_webkit_platform_support.h |
index d06833c6ab03f5166635af56835cda9de7620ed3..c5d4b21ea16d22a839a7176510a1900141f07b6e 100644 |
--- a/webkit/support/test_webkit_platform_support.h |
+++ b/webkit/support/test_webkit_platform_support.h |
@@ -6,6 +6,7 @@ |
#define WEBKIT_SUPPORT_TEST_WEBKIT_PLATFORM_SUPPORT_H_ |
#include "base/compiler_specific.h" |
+#include "third_party/WebKit/Source/Platform/chromium/public/WebDeviceMotionListener.h" |
#include "third_party/WebKit/Source/Platform/chromium/public/WebGamepads.h" |
#include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3D.h" |
#include "third_party/WebKit/Source/Platform/chromium/public/WebUnitTestSupport.h" |
@@ -168,6 +169,8 @@ class TestWebKitPlatformSupport : |
threaded_compositing_enabled_ = enabled; |
} |
+ void setDeviceMotionListener(WebKit::WebDeviceMotionListener*); |
+ |
private: |
TestShellWebMimeRegistryImpl mime_registry_; |
MockWebClipboardImpl mock_clipboard_; |
@@ -187,6 +190,7 @@ class TestWebKitPlatformSupport : |
WebKit::Platform* shadow_platform_delegate_; |
bool threaded_compositing_enabled_; |
webkit::WebCompositorSupportImpl compositor_support_; |
+ WebKit::WebDeviceMotionListener* device_motion_listener_; |
scoped_refptr<cc::ContextProvider> main_thread_contexts_; |