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

Unified Diff: webkit/support/webkit_support.cc

Issue 8561021: Support setting fake gamepad data from WebKit (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: include what you use Created 9 years, 1 month 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
« no previous file with comments | « webkit/support/webkit_support.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/webkit_support.cc
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc
index 34c71f77c52d1b5ca57e622276098b7ec9b95539..005a71843e46b037aaac2415b6ab9e86173ec733 100644
--- a/webkit/support/webkit_support.cc
+++ b/webkit/support/webkit_support.cc
@@ -650,4 +650,8 @@ void EnableWebCoreLogChannels(const std::string& channels) {
webkit_glue::EnableWebCoreLogChannels(channels);
}
+void SetGamepadData(const WebKit::WebGamepads& pads) {
+ test_environment->webkit_platform_support()->setGamepadData(pads);
+}
+
} // namespace webkit_support
« no previous file with comments | « webkit/support/webkit_support.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698