OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PLATFORM_DATA_FETCHER_WIN_H_ | 5 #ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_WIN_H_ |
6 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_WIN_H_ | 6 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_WIN_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 #ifndef WIN32_LEAN_AND_MEAN | 10 #ifndef WIN32_LEAN_AND_MEAN |
11 #define WIN32_LEAN_AND_MEAN | 11 #define WIN32_LEAN_AND_MEAN |
12 #endif | 12 #endif |
13 #include <stdlib.h> | 13 #include <stdlib.h> |
14 #include <Unknwn.h> | 14 #include <Unknwn.h> |
15 #include <WinDef.h> | 15 #include <WinDef.h> |
16 #include <windows.h> | 16 #include <windows.h> |
17 #include <XInput.h> | 17 #include <XInput.h> |
18 | 18 |
19 #include "base/basictypes.h" | |
20 #include "base/compiler_specific.h" | 19 #include "base/compiler_specific.h" |
| 20 #include "base/macros.h" |
21 #include "base/memory/scoped_ptr.h" | 21 #include "base/memory/scoped_ptr.h" |
22 #include "base/memory/weak_ptr.h" | 22 #include "base/memory/weak_ptr.h" |
23 #include "base/message_loop/message_loop.h" | 23 #include "base/message_loop/message_loop.h" |
24 #include "base/scoped_native_library.h" | 24 #include "base/scoped_native_library.h" |
25 #include "content/browser/gamepad/gamepad_data_fetcher.h" | 25 #include "content/browser/gamepad/gamepad_data_fetcher.h" |
26 #include "content/browser/gamepad/gamepad_standard_mappings.h" | 26 #include "content/browser/gamepad/gamepad_standard_mappings.h" |
27 #include "content/browser/gamepad/raw_input_data_fetcher_win.h" | 27 #include "content/browser/gamepad/raw_input_data_fetcher_win.h" |
28 #include "third_party/WebKit/public/platform/WebGamepads.h" | 28 #include "third_party/WebKit/public/platform/WebGamepads.h" |
29 | 29 |
30 namespace content { | 30 namespace content { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 PlatformPadState platform_pad_state_[blink::WebGamepads::itemsLengthCap]; | 90 PlatformPadState platform_pad_state_[blink::WebGamepads::itemsLengthCap]; |
91 | 91 |
92 scoped_ptr<RawInputDataFetcher> raw_input_fetcher_; | 92 scoped_ptr<RawInputDataFetcher> raw_input_fetcher_; |
93 | 93 |
94 DISALLOW_COPY_AND_ASSIGN(GamepadPlatformDataFetcherWin); | 94 DISALLOW_COPY_AND_ASSIGN(GamepadPlatformDataFetcherWin); |
95 }; | 95 }; |
96 | 96 |
97 } // namespace content | 97 } // namespace content |
98 | 98 |
99 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_WIN_H_ | 99 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_WIN_H_ |
OLD | NEW |