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 #include "content/browser/gamepad/gamepad_platform_data_fetcher_android.h" |
| 6 #include "third_party/WebKit/public/platform/WebGamepads.h" |
| 7 |
| 8 namespace content { |
| 9 |
| 10 GamepadPlatformDataFetcherAndroid::GamepadPlatformDataFetcherAndroid() { |
| 11 } |
| 12 |
| 13 GamepadPlatformDataFetcherAndroid::~GamepadPlatformDataFetcherAndroid() { |
| 14 } |
| 15 |
| 16 void GamepadPlatformDataFetcherAndroid::GetGamepadData(blink::WebGamepads* pads, |
| 17 bool) { |
| 18 GamepadsReader::GetInstance()->GetGamepadData(pads); |
| 19 } |
| 20 |
| 21 void GamepadPlatformDataFetcherAndroid::PauseHint(bool isaccesspaused) { |
| 22 GamepadsReader::GetInstance()->NotifyForGamepadsAccess(isaccesspaused); |
| 23 } |
| 24 |
| 25 } // namespace content |
OLD | NEW |