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_MAC_H_ | 5 #ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_MAC_H_ |
6 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_MAC_H_ | 6 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_MAC_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include <stddef.h> |
| 9 |
9 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
10 #include "base/mac/scoped_cftyperef.h" | 11 #include "base/mac/scoped_cftyperef.h" |
| 12 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
12 #include "build/build_config.h" | 14 #include "build/build_config.h" |
13 #include "content/browser/gamepad/gamepad_data_fetcher.h" | 15 #include "content/browser/gamepad/gamepad_data_fetcher.h" |
14 #include "content/browser/gamepad/xbox_data_fetcher_mac.h" | 16 #include "content/browser/gamepad/xbox_data_fetcher_mac.h" |
15 #include "content/common/gamepad_hardware_buffer.h" | 17 #include "content/common/gamepad_hardware_buffer.h" |
16 | 18 |
17 #include <CoreFoundation/CoreFoundation.h> | 19 #include <CoreFoundation/CoreFoundation.h> |
18 #include <IOKit/hid/IOHIDManager.h> | 20 #include <IOKit/hid/IOHIDManager.h> |
19 | 21 |
20 #if defined(__OBJC__) | 22 #if defined(__OBJC__) |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 }; | 95 }; |
94 }; | 96 }; |
95 AssociatedData associated_[blink::WebGamepads::itemsLengthCap]; | 97 AssociatedData associated_[blink::WebGamepads::itemsLengthCap]; |
96 | 98 |
97 DISALLOW_COPY_AND_ASSIGN(GamepadPlatformDataFetcherMac); | 99 DISALLOW_COPY_AND_ASSIGN(GamepadPlatformDataFetcherMac); |
98 }; | 100 }; |
99 | 101 |
100 } // namespace content | 102 } // namespace content |
101 | 103 |
102 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_MAC_H_ | 104 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_MAC_H_ |
OLD | NEW |