| 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 // From ppb_gamepad.idl modified Tue May 7 14:43:00 2013. | 5 // From ppb_gamepad.idl modified Wed Jan 27 17:10:16 2016. |
| 6 | 6 |
| 7 #include <stdint.h> |
| 7 #include <string.h> | 8 #include <string.h> |
| 8 | 9 |
| 9 #include "ppapi/c/pp_errors.h" | 10 #include "ppapi/c/pp_errors.h" |
| 10 #include "ppapi/c/ppb_gamepad.h" | 11 #include "ppapi/c/ppb_gamepad.h" |
| 11 #include "ppapi/shared_impl/tracked_callback.h" | 12 #include "ppapi/shared_impl/tracked_callback.h" |
| 12 #include "ppapi/thunk/enter.h" | 13 #include "ppapi/thunk/enter.h" |
| 13 #include "ppapi/thunk/ppapi_thunk_export.h" | 14 #include "ppapi/thunk/ppapi_thunk_export.h" |
| 14 #include "ppapi/thunk/ppb_gamepad_api.h" | 15 #include "ppapi/thunk/ppb_gamepad_api.h" |
| 15 | 16 |
| 16 namespace ppapi { | 17 namespace ppapi { |
| (...skipping 14 matching lines...) Expand all Loading... |
| 31 const PPB_Gamepad_1_0 g_ppb_gamepad_thunk_1_0 = {&Sample}; | 32 const PPB_Gamepad_1_0 g_ppb_gamepad_thunk_1_0 = {&Sample}; |
| 32 | 33 |
| 33 } // namespace | 34 } // namespace |
| 34 | 35 |
| 35 PPAPI_THUNK_EXPORT const PPB_Gamepad_1_0* GetPPB_Gamepad_1_0_Thunk() { | 36 PPAPI_THUNK_EXPORT const PPB_Gamepad_1_0* GetPPB_Gamepad_1_0_Thunk() { |
| 36 return &g_ppb_gamepad_thunk_1_0; | 37 return &g_ppb_gamepad_thunk_1_0; |
| 37 } | 38 } |
| 38 | 39 |
| 39 } // namespace thunk | 40 } // namespace thunk |
| 40 } // namespace ppapi | 41 } // namespace ppapi |
| OLD | NEW |