| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_THUNK_RESOURCE_CREATION_API_H_ | 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
| 9 #include "ppapi/c/dev/ppb_video_layer_dev.h" | 9 #include "ppapi/c/dev/ppb_video_layer_dev.h" |
| 10 #include "ppapi/c/pp_bool.h" | 10 #include "ppapi/c/pp_bool.h" |
| 11 #include "ppapi/c/pp_instance.h" | 11 #include "ppapi/c/pp_instance.h" |
| 12 #include "ppapi/c/pp_resource.h" | 12 #include "ppapi/c/pp_resource.h" |
| 13 #include "ppapi/c/ppb_audio.h" | 13 #include "ppapi/c/ppb_audio.h" |
| 14 #include "ppapi/c/ppb_audio_config.h" | 14 #include "ppapi/c/ppb_audio_config.h" |
| 15 #include "ppapi/c/ppb_file_system.h" | 15 #include "ppapi/c/ppb_file_system.h" |
| 16 #include "ppapi/c/ppb_graphics_3d.h" | 16 #include "ppapi/c/ppb_graphics_3d.h" |
| 17 #include "ppapi/c/ppb_image_data.h" | 17 #include "ppapi/c/ppb_image_data.h" |
| 18 #include "ppapi/c/ppb_input_event.h" | 18 #include "ppapi/c/ppb_input_event.h" |
| 19 #include "ppapi/c/dev/pp_video_dev.h" | 19 #include "ppapi/c/dev/pp_video_dev.h" |
| 20 #include "ppapi/c/dev/ppb_transport_dev.h" | 20 #include "ppapi/c/dev/ppb_transport_dev.h" |
| 21 #include "ppapi/shared_impl/api_id.h" | 21 #include "ppapi/shared_impl/api_id.h" |
| 22 | 22 |
| 23 struct PP_Flash_Menu; | 23 struct PP_Flash_Menu; |
| 24 struct PP_FontDescription_Dev; | 24 struct PP_FontDescription_Dev; |
| 25 struct PP_VideoCaptureDeviceInfo_Dev; | |
| 26 struct PP_Size; | 25 struct PP_Size; |
| 27 | 26 |
| 28 namespace ppapi { | 27 namespace ppapi { |
| 29 | 28 |
| 30 struct PPB_URLRequestInfo_Data; | 29 struct PPB_URLRequestInfo_Data; |
| 31 | 30 |
| 32 namespace thunk { | 31 namespace thunk { |
| 33 | 32 |
| 34 // A functional API for creating resource types. Separating out the creation | 33 // A functional API for creating resource types. Separating out the creation |
| 35 // functions here allows us to implement most resources as a pure "resource | 34 // functions here allows us to implement most resources as a pure "resource |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 const PP_FloatPoint* wheel_ticks, | 132 const PP_FloatPoint* wheel_ticks, |
| 134 PP_Bool scroll_by_page) = 0; | 133 PP_Bool scroll_by_page) = 0; |
| 135 | 134 |
| 136 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 135 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 137 }; | 136 }; |
| 138 | 137 |
| 139 } // namespace thunk | 138 } // namespace thunk |
| 140 } // namespace ppapi | 139 } // namespace ppapi |
| 141 | 140 |
| 142 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 141 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |