| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 PP_FileChooserMode_Dev mode, | 139 PP_FileChooserMode_Dev mode, |
| 140 const char* accept_types) = 0; | 140 const char* accept_types) = 0; |
| 141 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) = 0; | 141 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) = 0; |
| 142 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 142 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
| 143 const PP_Flash_Menu* menu_data) = 0; | 143 const PP_Flash_Menu* menu_data) = 0; |
| 144 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; | 144 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; |
| 145 virtual PP_Resource CreateNetworkMonitor( | 145 virtual PP_Resource CreateNetworkMonitor( |
| 146 PP_Instance instance, | 146 PP_Instance instance, |
| 147 PPB_NetworkMonitor_Callback callback, | 147 PPB_NetworkMonitor_Callback callback, |
| 148 void* user_data) = 0; | 148 void* user_data) = 0; |
| 149 virtual PP_Resource CreatePrinting(PP_Instance instance) = 0; |
| 149 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 150 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
| 150 PP_Bool vertical) = 0; | 151 PP_Bool vertical) = 0; |
| 151 virtual PP_Resource CreateTalk(PP_Instance instance) = 0; | 152 virtual PP_Resource CreateTalk(PP_Instance instance) = 0; |
| 152 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; | 153 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; |
| 153 virtual PP_Resource CreateVideoDecoder( | 154 virtual PP_Resource CreateVideoDecoder( |
| 154 PP_Instance instance, | 155 PP_Instance instance, |
| 155 PP_Resource context3d_id, | 156 PP_Resource context3d_id, |
| 156 PP_VideoDecoder_Profile profile) = 0; | 157 PP_VideoDecoder_Profile profile) = 0; |
| 157 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 158 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
| 158 PP_VideoLayerMode_Dev mode) = 0; | 159 PP_VideoLayerMode_Dev mode) = 0; |
| 159 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; | 160 virtual PP_Resource CreateWebSocket(PP_Instance instance) = 0; |
| 160 #endif // !defined(OS_NACL) | 161 #endif // !defined(OS_NACL) |
| 161 | 162 |
| 162 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 163 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 163 }; | 164 }; |
| 164 | 165 |
| 165 } // namespace thunk | 166 } // namespace thunk |
| 166 } // namespace ppapi | 167 } // namespace ppapi |
| 167 | 168 |
| 168 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 169 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |