| 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" |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 PP_Resource share_context, | 117 PP_Resource share_context, |
| 118 const int32_t* attrib_list) = 0; | 118 const int32_t* attrib_list) = 0; |
| 119 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0; | 119 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0; |
| 120 virtual PP_Resource CreateNetworkMonitor( | 120 virtual PP_Resource CreateNetworkMonitor( |
| 121 PP_Instance instance, | 121 PP_Instance instance, |
| 122 PPB_NetworkMonitor_Callback callback, | 122 PPB_NetworkMonitor_Callback callback, |
| 123 void* user_data) = 0; | 123 void* user_data) = 0; |
| 124 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; | 124 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; |
| 125 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; | 125 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; |
| 126 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; | 126 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; |
| 127 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; |
| 127 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; | 128 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; |
| 128 #if !defined(OS_NACL) | 129 #if !defined(OS_NACL) |
| 129 virtual PP_Resource CreateAudioInput0_1( | 130 virtual PP_Resource CreateAudioInput0_1( |
| 130 PP_Instance instance, | 131 PP_Instance instance, |
| 131 PP_Resource config_id, | 132 PP_Resource config_id, |
| 132 PPB_AudioInput_Callback audio_input_callback, | 133 PPB_AudioInput_Callback audio_input_callback, |
| 133 void* user_data) = 0; | 134 void* user_data) = 0; |
| 134 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; | 135 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; |
| 135 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; | 136 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; |
| 136 virtual PP_Resource CreateBrowserFont( | 137 virtual PP_Resource CreateBrowserFont( |
| (...skipping 13 matching lines...) Expand all Loading... |
| 150 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 151 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
| 151 PP_Bool vertical) = 0; | 152 PP_Bool vertical) = 0; |
| 152 virtual PP_Resource CreateTalk(PP_Instance instance) = 0; | 153 virtual PP_Resource CreateTalk(PP_Instance instance) = 0; |
| 153 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; | 154 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; |
| 154 virtual PP_Resource CreateVideoDecoder( | 155 virtual PP_Resource CreateVideoDecoder( |
| 155 PP_Instance instance, | 156 PP_Instance instance, |
| 156 PP_Resource context3d_id, | 157 PP_Resource context3d_id, |
| 157 PP_VideoDecoder_Profile profile) = 0; | 158 PP_VideoDecoder_Profile profile) = 0; |
| 158 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 159 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
| 159 PP_VideoLayerMode_Dev mode) = 0; | 160 PP_VideoLayerMode_Dev mode) = 0; |
| 160 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; | |
| 161 #endif // !defined(OS_NACL) | 161 #endif // !defined(OS_NACL) |
| 162 | 162 |
| 163 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 163 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 164 }; | 164 }; |
| 165 | 165 |
| 166 } // namespace thunk | 166 } // namespace thunk |
| 167 } // namespace ppapi | 167 } // namespace ppapi |
| 168 | 168 |
| 169 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 169 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |