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 PPAPI_SHARED_IMPL_PPB_GAMEPAD_SHARED_H_ | 5 #ifndef PPAPI_SHARED_IMPL_PPB_GAMEPAD_SHARED_H_ |
6 #define PPAPI_SHARED_IMPL_PPB_GAMEPAD_SHARED_H_ | 6 #define PPAPI_SHARED_IMPL_PPB_GAMEPAD_SHARED_H_ |
7 | 7 |
8 #include "base/atomicops.h" | 8 #include "base/atomicops.h" |
9 #include "base/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "ppapi/c/ppb_gamepad.h" | 10 #include "ppapi/c/ppb_gamepad.h" |
11 #include "ppapi/shared_impl/ppapi_shared_export.h" | 11 #include "ppapi/shared_impl/ppapi_shared_export.h" |
12 | 12 |
13 namespace ppapi { | 13 namespace ppapi { |
14 | 14 |
15 // TODO(brettw) when we remove the non-IPC-based gamepad implementation, this | 15 // TODO(brettw) when we remove the non-IPC-based gamepad implementation, this |
16 // code should all move into the GamepadResource. | 16 // code should all move into the GamepadResource. |
17 | 17 |
18 #pragma pack(push, 1) | 18 #pragma pack(push, 1) |
19 | 19 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 | 69 |
70 #pragma pack(pop) | 70 #pragma pack(pop) |
71 | 71 |
72 PPAPI_SHARED_EXPORT void ConvertWebKitGamepadData( | 72 PPAPI_SHARED_EXPORT void ConvertWebKitGamepadData( |
73 const WebKitGamepads& webkit_data, | 73 const WebKitGamepads& webkit_data, |
74 PP_GamepadsSampleData* output_data); | 74 PP_GamepadsSampleData* output_data); |
75 | 75 |
76 } // namespace ppapi | 76 } // namespace ppapi |
77 | 77 |
78 #endif // PPAPI_SHARED_IMPL_PPB_GAMEPAD_SHARED_H_ | 78 #endif // PPAPI_SHARED_IMPL_PPB_GAMEPAD_SHARED_H_ |
OLD | NEW |