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

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

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
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_GAMEPAD_DATA_FETCHER_H_ 5 #ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_DATA_FETCHER_H_
6 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_DATA_FETCHER_H_ 6 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_DATA_FETCHER_H_
7 7
8 namespace WebKit { 8 namespace blink {
9 class WebGamepads; 9 class WebGamepads;
10 } 10 }
11 11
12 namespace content { 12 namespace content {
13 13
14 // Abstract interface for imlementing platform- (and test-) specific behaviro 14 // Abstract interface for imlementing platform- (and test-) specific behaviro
15 // for getting the gamepad data. 15 // for getting the gamepad data.
16 class GamepadDataFetcher { 16 class GamepadDataFetcher {
17 public: 17 public:
18 virtual ~GamepadDataFetcher() {} 18 virtual ~GamepadDataFetcher() {}
19 virtual void GetGamepadData(WebKit::WebGamepads* pads, 19 virtual void GetGamepadData(blink::WebGamepads* pads,
20 bool devices_changed_hint) = 0; 20 bool devices_changed_hint) = 0;
21 virtual void PauseHint(bool paused) {} 21 virtual void PauseHint(bool paused) {}
22 }; 22 };
23 23
24 } // namespace content 24 } // namespace content
25 25
26 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_DATA_FETCHER_H_ 26 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_DATA_FETCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698