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

Side by Side Diff: content/browser/gamepad/data_fetcher.h

Issue 8799022: Add Mac implementation of data_fetcher for gamepad. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix indent Created 9 years 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/gamepad/data_fetcher_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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_BROWSER_GAMEPAD_DATA_FETCHER_H_ 5 #ifndef CONTENT_BROWSER_GAMEPAD_DATA_FETCHER_H_
6 #define CONTENT_BROWSER_GAMEPAD_DATA_FETCHER_H_ 6 #define CONTENT_BROWSER_GAMEPAD_DATA_FETCHER_H_
7 7
8 namespace WebKit { 8 namespace WebKit {
9 class WebGamepads; 9 class WebGamepads;
10 } 10 }
11 11
12 namespace content { 12 namespace content {
13 13
14 class GamepadDataFetcher { 14 class GamepadDataFetcher {
15 public: 15 public:
16 virtual ~GamepadDataFetcher() {} 16 virtual ~GamepadDataFetcher() {}
17 virtual void GetGamepadData(WebKit::WebGamepads* pads, 17 virtual void GetGamepadData(WebKit::WebGamepads* pads,
18 bool devices_changed_hint) = 0; 18 bool devices_changed_hint) = 0;
19 virtual void PauseHint(bool paused) {}
19 }; 20 };
20 21
21 } // namespace content 22 } // namespace content
22 23
23 #endif // CONTENT_BROWSER_GAMEPAD_DATA_FETCHER_H_ 24 #endif // CONTENT_BROWSER_GAMEPAD_DATA_FETCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/browser/gamepad/data_fetcher_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698