Index: content/renderer/render_thread_impl.h |
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h |
index 8fb3ad9f6281a5f4d88c09c177d230ddc6ae3c93..9dfa92a1f41fcaa84f28fd4ea92bc40f9cc18e27 100644 |
--- a/content/renderer/render_thread_impl.h |
+++ b/content/renderer/render_thread_impl.h |
@@ -1,4 +1,5 @@ |
// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -337,6 +338,13 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread, |
void SetFlingCurveParameters(const std::vector<float>& new_touchpad, |
const std::vector<float>& new_touchscreen); |
+#if defined(OS_ANDROID) |
+ // Resume current gamepad poll thread. |
+ void ResumeGamepads(); |
+ // Pause current gamepad poll thread. |
+ void PauseGamepads(); |
+#endif |
+ |
// Retrieve current gamepad data. |
void SampleGamepads(blink::WebGamepads* data); |