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

Unified Diff: webkit/support/test_webkit_platform_support.h

Issue 8561021: Support setting fake gamepad data from WebKit (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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 | « no previous file | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b774afbf0545476ed001399efe572632f6ec3eb9..54b92ad53be1a36ebb47e051b33614f8038200af 100644
--- a/webkit/support/test_webkit_platform_support.h
+++ b/webkit/support/test_webkit_platform_support.h
@@ -103,6 +103,9 @@ class TestWebKitPlatformSupport :
unsigned numberOfChannels, double sampleRate,
WebKit::WebAudioDevice::RenderCallback*);
+ virtual void sampleGamepads(WebKit::WebGamepads&);
+ void setGamepadData(const WebKit::WebGamepads&);
tony 2011/11/18 20:12:37 Nit: Chrome style is to name all parameters.
scottmg 2011/11/18 21:20:56 Done.
+
private:
TestShellWebMimeRegistryImpl mime_registry_;
MockWebClipboardImpl mock_clipboard_;
@@ -116,6 +119,7 @@ class TestWebKitPlatformSupport :
ScopedTempDir file_system_root_;
WebURLLoaderMockFactory url_loader_factory_;
bool unit_test_mode_;
+ WebKit::WebGamepads gamepad_data_;
tony 2011/11/18 20:12:37 Can we add the #include for the file that defines
scottmg 2011/11/18 21:20:56 Fwd decl OK instead in this case?
#if defined(OS_WIN) || defined(OS_MACOSX)
WebKit::WebThemeEngine* active_theme_engine_;
« no previous file with comments | « no previous file | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698