Add ICU message format support
[chromium-blink-merge.git] / content / browser / gamepad / gamepad_data_fetcher.h
blob17887d5d0e137886cc847be88acd02a7a13aa748
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.
5 #ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_DATA_FETCHER_H_
6 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_DATA_FETCHER_H_
8 namespace blink {
9 class WebGamepads;
12 namespace content {
14 // Abstract interface for imlementing platform- (and test-) specific behaviro
15 // for getting the gamepad data.
16 class GamepadDataFetcher {
17 public:
18 virtual ~GamepadDataFetcher() {}
19 virtual void GetGamepadData(blink::WebGamepads* pads,
20 bool devices_changed_hint) = 0;
21 virtual void PauseHint(bool paused) {}
24 } // namespace content
26 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_DATA_FETCHER_H_