Index: content/renderer/render_thread_impl.h |
=================================================================== |
--- content/renderer/render_thread_impl.h (revision 215718) |
+++ content/renderer/render_thread_impl.h (working copy) |
@@ -28,6 +28,7 @@ |
struct ViewMsg_New_Params; |
namespace WebKit { |
+class WebGamepads; |
class WebGraphicsContext3D; |
class WebMediaStreamCenter; |
class WebMediaStreamCenterClient; |
@@ -77,6 +78,7 @@ |
class DBMessageFilter; |
class DevToolsAgentFilter; |
class DomStorageDispatcher; |
+class GamepadSharedMemoryReader; |
class GpuChannelHost; |
class IndexedDBDispatcher; |
class InputEventFilter; |
@@ -345,6 +347,9 @@ |
void SetFlingCurveParameters(const std::vector<float>& new_touchpad, |
const std::vector<float>& new_touchscreen); |
+ // Retrieve current gamepad data. |
+ void SampleGamepads(WebKit::WebGamepads* data); |
+ |
private: |
// ChildThread |
virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; |
@@ -486,6 +491,8 @@ |
scoped_ptr<WebRTCIdentityService> webrtc_identity_service_; |
+ scoped_ptr<GamepadSharedMemoryReader> gamepad_shared_memory_reader_; |
+ |
DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); |
}; |