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

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 5222955109842944: Add plumbing for platform based Device Motion testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 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/renderer/renderer_webkitplatformsupport_impl.h
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h
index 7f096e5d20bbc1bc499e88bcd15d0dd4d1571770..efd62c21fc16aec5f9cd397e0bb86293522c337e 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.h
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h
@@ -28,6 +28,7 @@ class SyncMessageFilter;
}
namespace WebKit {
+class WebDeviceMotionData;
class WebGraphicsContext3DProvider;
}
@@ -150,6 +151,8 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
// Set WebGamepads to return when sampleGamepads() is invoked.
static void SetMockGamepadsForTesting(const WebKit::WebGamepads& pads);
+ static void SetMockDeviceMotionDataForTesting(
jochen (gone - plz use gerrit) 2013/07/15 13:55:08 nit. please add a comment similar to the one for g
timvolodine 2013/07/16 11:53:44 Done.
+ const WebKit::WebDeviceMotionData& data);
private:
bool CheckPreparsedJsCachingEnabled() const;

Powered by Google App Engine
This is Rietveld 408576698