OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 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_BROWSER_GAMEPAD_DATA_FETCHER_H_ |
| 6 #define CONTENT_BROWSER_GAMEPAD_DATA_FETCHER_H_ |
| 7 |
| 8 namespace WebKit { |
| 9 class WebGamepads; |
| 10 } |
| 11 |
| 12 namespace gamepad { |
| 13 |
| 14 class DataFetcher { |
| 15 public: |
| 16 virtual ~DataFetcher() {} |
| 17 virtual void GetGamepadData(WebKit::WebGamepads* pads, |
| 18 bool devices_changed_hint) = 0; |
| 19 }; |
| 20 |
| 21 } // namespace gamepad |
| 22 |
| 23 #endif // CONTENT_BROWSER_GAMEPAD_DATA_FETCHER_H_ |
OLD | NEW |