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

Unified Diff: content/shell/renderer/webkit_test_runner.h

Issue 5222955109842944: Add plumbing for platform based Device Motion testing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: forward declare of WebDeviceMotionData 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/shell/renderer/webkit_test_runner.h
diff --git a/content/shell/renderer/webkit_test_runner.h b/content/shell/renderer/webkit_test_runner.h
index 2f815b97255378eaa6b59cebf4f138522e989e61..866f4e5e4cb6d68845a2141b27f1e26139a0d9c6 100644
--- a/content/shell/renderer/webkit_test_runner.h
+++ b/content/shell/renderer/webkit_test_runner.h
@@ -20,6 +20,7 @@
class SkCanvas;
namespace WebKit {
+class WebDeviceMotionData;
struct WebRect;
}
@@ -51,6 +52,7 @@ class WebKitTestRunner : public RenderViewObserver,
virtual void setEditCommand(const std::string& name,
const std::string& value);
virtual void setGamepadData(const WebKit::WebGamepads& gamepads);
+ virtual void setDeviceMotionData(const WebKit::WebDeviceMotionData& data);
virtual void printMessage(const std::string& message);
virtual void postTask(::WebTestRunner::WebTask* task);
virtual void postDelayedTask(::WebTestRunner::WebTask* task,
« no previous file with comments | « content/renderer/renderer_webkitplatformsupport_impl.cc ('k') | content/shell/renderer/webkit_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698