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

Unified Diff: Tools/DumpRenderTree/chromium/WebViewHost.cpp

Issue 14460010: Implement the Blink part of the Device Motion API. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: made WebDeviceMotionData more "POD-ish" Created 7 years, 7 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: Tools/DumpRenderTree/chromium/WebViewHost.cpp
diff --git a/Tools/DumpRenderTree/chromium/WebViewHost.cpp b/Tools/DumpRenderTree/chromium/WebViewHost.cpp
index 7cc1ab56e578c7e37f7946debf1d2b1c810f34af..06acc126a023622266066428bfbb5e23fbcb9159 100644
--- a/Tools/DumpRenderTree/chromium/WebViewHost.cpp
+++ b/Tools/DumpRenderTree/chromium/WebViewHost.cpp
@@ -534,6 +534,12 @@ void WebViewHost::setGamepadData(const WebGamepads& pads)
webkit_support::SetGamepadData(pads);
}
+void WebViewHost::setDeviceMotionHandler(WebDeviceMotionHandler* handler)
+{
+ // FIXME: Uncomment this when the content-side plumbing is checked in.
+ // webkit_support::SetDeviceMotionHandler(handler);
+}
+
void WebViewHost::printMessage(const std::string& message)
{
printf("%s", message.c_str());

Powered by Google App Engine
This is Rietveld 408576698