| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; | 130 virtual PP_Resource CreateTCPServerSocketPrivate(PP_Instance instance) = 0; |
| 131 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; | 131 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instace) = 0; |
| 132 virtual PP_Resource CreateTransport(PP_Instance instance, | 132 virtual PP_Resource CreateTransport(PP_Instance instance, |
| 133 const char* name, | 133 const char* name, |
| 134 PP_TransportType type) = 0; | 134 PP_TransportType type) = 0; |
| 135 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; | 135 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instace) = 0; |
| 136 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; | 136 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; |
| 137 virtual PP_Resource CreateVideoDecoder( | 137 virtual PP_Resource CreateVideoDecoder( |
| 138 PP_Instance instance, | 138 PP_Instance instance, |
| 139 PP_Resource context3d_id, | 139 PP_Resource context3d_id, |
| 140 PP_VideoDecoder_Profile profile) = 0; | 140 PP_VideoDecoder_Profile profile, |
| 141 const PP_Size& frame_size, |
| 142 const uint8_t* extra_data, |
| 143 uint32_t extra_data_size) = 0; |
| 141 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 144 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
| 142 PP_VideoLayerMode_Dev mode) = 0; | 145 PP_VideoLayerMode_Dev mode) = 0; |
| 143 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; | 146 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; |
| 144 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; | 147 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; |
| 145 #endif // !defined(OS_NACL) | 148 #endif // !defined(OS_NACL) |
| 146 | 149 |
| 147 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 150 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 148 }; | 151 }; |
| 149 | 152 |
| 150 } // namespace thunk | 153 } // namespace thunk |
| 151 } // namespace ppapi | 154 } // namespace ppapi |
| 152 | 155 |
| 153 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 156 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |