OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_PUBLIC_RENDERER_RENDERER_GAMEPAD_PROVIDER_H_ | 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDERER_GAMEPAD_PROVIDER_H_ |
6 #define CONTENT_PUBLIC_RENDERER_RENDERER_GAMEPAD_PROVIDER_H_ | 6 #define CONTENT_PUBLIC_RENDERER_RENDERER_GAMEPAD_PROVIDER_H_ |
7 | 7 |
8 #include "content/public/renderer/platform_event_observer.h" | 8 #include "content/public/renderer/platform_event_observer.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 // Provides latest snapshot of gamepads. | 26 // Provides latest snapshot of gamepads. |
27 virtual void SampleGamepads(blink::WebGamepads& gamepads) = 0; | 27 virtual void SampleGamepads(blink::WebGamepads& gamepads) = 0; |
28 | 28 |
29 protected: | 29 protected: |
30 DISALLOW_COPY_AND_ASSIGN(RendererGamepadProvider); | 30 DISALLOW_COPY_AND_ASSIGN(RendererGamepadProvider); |
31 }; | 31 }; |
32 | 32 |
33 } // namespace content | 33 } // namespace content |
34 | 34 |
35 #endif | 35 #endif // CONTENT_PUBLIC_RENDERER_RENDERER_GAMEPAD_PROVIDER_H_ |
OLD | NEW |