Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: content/browser/gamepad/platform_data_fetcher_linux.h

Issue 9270015: Add Mac gamepad input remapper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « content/browser/gamepad/gamepad_standard_mappings_mac.mm ('k') | content/browser/gamepad/platform_data_fetcher_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698