Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Side by Side Diff: content/browser/gamepad/gamepad_platform_data_fetcher_android.cc

Issue 133943002: Gamepad API support for chrome on android (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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);
jdduke (slow) 2014/03/18 09:43:15 Please have a look at my comments for gamepad_plat
SaurabhK 2014/03/18 12:45:30 On 2014/03/18 09:43:15, jdduke wrote: I had creat
19 }
20
21 void GamepadPlatformDataFetcherAndroid::PauseHint(bool isaccesspaused) {
22 GamepadsReader::GetInstance()->NotifyForGamepadsAccess(isaccesspaused);
23 }
24
25 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698