| 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_DATA_FETCHER_LINUX_H_ | 5 #ifndef CONTENT_BROWSER_GAMEPAD_DATA_FETCHER_LINUX_H_ |
| 6 #define CONTENT_BROWSER_GAMEPAD_DATA_FETCHER_LINUX_H_ | 6 #define CONTENT_BROWSER_GAMEPAD_DATA_FETCHER_LINUX_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/message_pump_libevent.h" | 11 #include "base/message_pump_libevent.h" |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 #include "content/browser/gamepad/data_fetcher.h" | 13 #include "content/browser/gamepad/data_fetcher.h" |
| 14 #include "content/browser/gamepad/gamepad_standard_mappings_linux.h" | 14 #include "content/browser/gamepad/gamepad_standard_mappings.h" |
| 15 #include "content/common/gamepad_hardware_buffer.h" | 15 #include "content/common/gamepad_hardware_buffer.h" |
| 16 | 16 |
| 17 extern "C" { | 17 extern "C" { |
| 18 struct udev; | 18 struct udev; |
| 19 struct udev_device; | 19 struct udev_device; |
| 20 struct udev_monitor; | 20 struct udev_monitor; |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace content { | 23 namespace content { |
| 24 | 24 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 // be null if no mapping is available. | 57 // be null if no mapping is available. |
| 58 GamepadStandardMappingFunction mappers_[WebKit::WebGamepads::itemsLengthCap]; | 58 GamepadStandardMappingFunction mappers_[WebKit::WebGamepads::itemsLengthCap]; |
| 59 | 59 |
| 60 // Data that's returned to the consumer. | 60 // Data that's returned to the consumer. |
| 61 WebKit::WebGamepads data_; | 61 WebKit::WebGamepads data_; |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace content | 64 } // namespace content |
| 65 | 65 |
| 66 #endif // CONTENT_BROWSER_GAMEPAD_DATA_FETCHER_LINUX_H_ | 66 #endif // CONTENT_BROWSER_GAMEPAD_DATA_FETCHER_LINUX_H_ |
| OLD | NEW |