OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_GAMEPAD_RENDERER_PROVIDER_H_ | |
6 #define CONTENT_GAMEPAD_RENDERER_PROVIDER_H_ | |
7 | |
8 namespace blink { | |
9 class WebGamepadListener; | |
10 class WebGamepads; | |
11 } | |
12 | |
13 namespace content { | |
14 | |
15 class RendererGamepadProvider { | |
16 public: | |
17 virtual void SampleGamepads(blink::WebGamepads& gamepads) = 0; | |
18 virtual void SetGamepadListener(blink::WebGamepadListener*) = 0; | |
jam
2014/06/18 23:23:42
nit: name the parameter. also add comment for meth
| |
19 protected: | |
20 virtual ~RendererGamepadProvider() {} | |
21 }; | |
22 | |
23 } // namespace content | |
24 | |
25 #endif | |
OLD | NEW |