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_PROXY_GAMEPAD_RESOURCE_H_ | 5 #ifndef PPAPI_PROXY_GAMEPAD_RESOURCE_H_ |
6 #define PPAPI_PROXY_GAMEPAD_RESOURCE_H_ | 6 #define PPAPI_PROXY_GAMEPAD_RESOURCE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/shared_memory.h" | 11 #include "base/memory/shared_memory.h" |
12 #include "ppapi/c/ppb_gamepad.h" | 12 #include "ppapi/c/ppb_gamepad.h" |
13 #include "ppapi/proxy/plugin_resource.h" | 13 #include "ppapi/proxy/plugin_resource.h" |
14 #include "ppapi/proxy/ppapi_proxy_export.h" | 14 #include "ppapi/proxy/ppapi_proxy_export.h" |
15 #include "ppapi/shared_impl/ppb_gamepad_shared.h" | 15 #include "ppapi/shared_impl/ppb_gamepad_shared.h" |
16 #include "ppapi/thunk/ppb_gamepad_api.h" | 16 #include "ppapi/thunk/ppb_gamepad_api.h" |
17 | 17 |
18 struct PP_GamepadsSampleData; | 18 struct PP_GamepadsSampleData; |
19 | 19 |
(...skipping 30 matching lines...) Expand all Loading... |
50 // Last data returned so we can use this in the event of a read failure. | 50 // Last data returned so we can use this in the event of a read failure. |
51 PP_GamepadsSampleData last_read_; | 51 PP_GamepadsSampleData last_read_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(GamepadResource); | 53 DISALLOW_COPY_AND_ASSIGN(GamepadResource); |
54 }; | 54 }; |
55 | 55 |
56 } // namespace proxy | 56 } // namespace proxy |
57 } // namespace ppapi | 57 } // namespace ppapi |
58 | 58 |
59 #endif // PPAPI_PROXY_GAMEPAD_RESOURCE_H_ | 59 #endif // PPAPI_PROXY_GAMEPAD_RESOURCE_H_ |
OLD | NEW |