| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 virtual PP_Resource CreateFileChooser( | 114 virtual PP_Resource CreateFileChooser( |
| 115 PP_Instance instance, | 115 PP_Instance instance, |
| 116 PP_FileChooserMode_Dev mode, | 116 PP_FileChooserMode_Dev mode, |
| 117 const char* accept_types) = 0; | 117 const char* accept_types) = 0; |
| 118 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) = 0; | 118 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) = 0; |
| 119 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 119 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
| 120 const PP_Flash_Menu* menu_data) = 0; | 120 const PP_Flash_Menu* menu_data) = 0; |
| 121 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; | 121 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; |
| 122 virtual PP_Resource CreateGraphics2D(PP_Instance instance, | 122 virtual PP_Resource CreateGraphics2D(PP_Instance instance, |
| 123 const PP_Size& size, | 123 const PP_Size& size, |
| 124 PP_Bool is_always_opaque) = 0; | 124 PP_Bool is_always_opaque, |
| 125 float scale) = 0; |
| 125 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 126 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
| 126 PP_Resource share_context, | 127 PP_Resource share_context, |
| 127 const int32_t* attrib_list) = 0; | 128 const int32_t* attrib_list) = 0; |
| 128 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 129 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
| 129 PP_Resource share_context, | 130 PP_Resource share_context, |
| 130 const int32_t* attrib_list) = 0; | 131 const int32_t* attrib_list) = 0; |
| 131 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0; | 132 virtual PP_Resource CreateHostResolverPrivate(PP_Instance instance) = 0; |
| 132 virtual PP_Resource CreateNetworkMonitor( | 133 virtual PP_Resource CreateNetworkMonitor( |
| 133 PP_Instance instance, | 134 PP_Instance instance, |
| 134 PPB_NetworkMonitor_Callback callback, | 135 PPB_NetworkMonitor_Callback callback, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 150 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; | 151 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; |
| 151 #endif // !defined(OS_NACL) | 152 #endif // !defined(OS_NACL) |
| 152 | 153 |
| 153 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 154 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
| 154 }; | 155 }; |
| 155 | 156 |
| 156 } // namespace thunk | 157 } // namespace thunk |
| 157 } // namespace ppapi | 158 } // namespace ppapi |
| 158 | 159 |
| 159 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 160 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
| OLD | NEW |