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_LINUX_H_ | 5 #ifndef CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_LINUX_H_ |
6 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_LINUX_H_ | 6 #define CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_LINUX_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/basictypes.h" | |
11 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
13 #include "content/browser/gamepad/gamepad_data_fetcher.h" | 15 #include "content/browser/gamepad/gamepad_data_fetcher.h" |
14 | 16 |
15 extern "C" { | 17 extern "C" { |
16 struct udev_device; | 18 struct udev_device; |
17 } | 19 } |
18 | 20 |
19 namespace content { | 21 namespace content { |
20 | 22 |
21 class UdevLinux; | 23 class UdevLinux; |
(...skipping 16 matching lines...) Expand all Loading... |
38 int device_fd_[blink::WebGamepads::itemsLengthCap]; | 40 int device_fd_[blink::WebGamepads::itemsLengthCap]; |
39 | 41 |
40 scoped_ptr<UdevLinux> udev_; | 42 scoped_ptr<UdevLinux> udev_; |
41 | 43 |
42 DISALLOW_COPY_AND_ASSIGN(GamepadPlatformDataFetcherLinux); | 44 DISALLOW_COPY_AND_ASSIGN(GamepadPlatformDataFetcherLinux); |
43 }; | 45 }; |
44 | 46 |
45 } // namespace content | 47 } // namespace content |
46 | 48 |
47 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_LINUX_H_ | 49 #endif // CONTENT_BROWSER_GAMEPAD_GAMEPAD_PLATFORM_DATA_FETCHER_LINUX_H_ |
OLD | NEW |