| 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_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_audio_input_dev.h" | 8 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
| 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
| 10 #include "ppapi/c/dev/ppb_video_layer_dev.h" | 10 #include "ppapi/c/dev/ppb_video_layer_dev.h" |
| 11 #include "ppapi/c/pp_bool.h" | 11 #include "ppapi/c/pp_bool.h" |
| 12 #include "ppapi/c/pp_instance.h" | 12 #include "ppapi/c/pp_instance.h" |
| 13 #include "ppapi/c/pp_resource.h" | 13 #include "ppapi/c/pp_resource.h" |
| 14 #include "ppapi/c/ppb_audio.h" | 14 #include "ppapi/c/ppb_audio.h" |
| 15 #include "ppapi/c/ppb_audio_config.h" | 15 #include "ppapi/c/ppb_audio_config.h" |
| 16 #include "ppapi/c/ppb_file_system.h" | 16 #include "ppapi/c/ppb_file_system.h" |
| 17 #include "ppapi/c/ppb_graphics_3d.h" | 17 #include "ppapi/c/ppb_graphics_3d.h" |
| 18 #include "ppapi/c/ppb_image_data.h" | 18 #include "ppapi/c/ppb_image_data.h" |
| 19 #include "ppapi/c/ppb_input_event.h" | 19 #include "ppapi/c/ppb_input_event.h" |
| 20 #include "ppapi/c/ppb_websocket.h" | 20 #include "ppapi/c/ppb_websocket.h" |
| 21 #include "ppapi/c/dev/pp_video_dev.h" | 21 #include "ppapi/c/dev/pp_video_dev.h" |
| 22 #include "ppapi/c/dev/ppb_transport_dev.h" | |
| 23 #include "ppapi/c/private/ppb_network_monitor_private.h" | 22 #include "ppapi/c/private/ppb_network_monitor_private.h" |
| 24 #include "ppapi/shared_impl/api_id.h" | 23 #include "ppapi/shared_impl/api_id.h" |
| 25 | 24 |
| 26 struct PP_Flash_Menu; | 25 struct PP_Flash_Menu; |
| 27 struct PP_BrowserFont_Trusted_Description; | 26 struct PP_BrowserFont_Trusted_Description; |
| 28 struct PP_Size; | 27 struct PP_Size; |
| 29 | 28 |
| 30 namespace ppapi { | 29 namespace ppapi { |
| 31 | 30 |
| 32 struct PPB_URLRequestInfo_Data; | 31 struct PPB_URLRequestInfo_Data; |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0; | 130 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0; |
| 132 virtual PP_Resource CreateNetworkMonitor( | 131 virtual PP_Resource CreateNetworkMonitor( |
| 133 PP_Instance instance, | 132 PP_Instance instance, |
| 134 PPB_NetworkMonitor_Callback callback, | 133 PPB_NetworkMonitor_Callback callback, |
| 135 void* user_data) = 0; | 134 void* user_data) = 0; |
| 136 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 135 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
| 137 PP_Bool vertical) = 0; | 136 PP_Bool vertical) = 0; |
| 138 virtual PP_Resource CreateTalk(PP_Instance instance) = 0; | 137 virtual PP_Resource CreateTalk(PP_Instance instance) = 0; |
| 139 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; | 138 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; |
| 140 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; | 139 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; |
| 141 virtual PP_Resource CreateTransport(PP_Instance instance, | |
| 142 const char* name, | |
| 143 PP_TransportType type) = 0; | |
| 144 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; | 140 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; |
| 145 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; | 141 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; |
| 146 virtual PP_Resource CreateVideoDecoder( | 142 virtual PP_Resource CreateVideoDecoder( |
| 147 PP_Instance instance, | 143 PP_Instance instance, |
| 148 PP_Resource context3d_id, | 144 PP_Resource context3d_id, |
| 149 PP_VideoDecoder_Profile profile) = 0; | 145 PP_VideoDecoder_Profile profile) = 0; |
| 150 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 146 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
| 151 PP_VideoLayerMode_Dev mode) = 0; | 147 PP_VideoLayerMode_Dev mode) = 0; |
| 152 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; | 148 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; |
| 153 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; | 149 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; |
| 154 #endif // !defined(OS_NACL) | 150 #endif // !defined(OS_NACL) |
| 155 | 151 |
| 156 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 152 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 157 }; | 153 }; |
| 158 | 154 |
| 159 } // namespace thunk | 155 } // namespace thunk |
| 160 } // namespace ppapi | 156 } // namespace ppapi |
| 161 | 157 |
| 162 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 158 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |