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

Unified Diff: content/renderer/render_thread_impl.h

Issue 133943002: Gamepad API support for chrome on android (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 11 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/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index c05d775f60e43906fe54614e12334754aaa8d4e5..bb1efa02993e7b118cb29112a66204ef3f98e204 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -340,6 +340,11 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
void SetFlingCurveParameters(const std::vector<float>& new_touchpad,
const std::vector<float>& new_touchscreen);
+ // Resume current gamepad poll thread.
+ void ResumeGamepads();
+ // Pause current gamepad poll thread.
+ void PauseGamepads();
+
// Retrieve current gamepad data.
void SampleGamepads(blink::WebGamepads* data);

Powered by Google App Engine
This is Rietveld 408576698