| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PROXY_RESOURCE_CREATION_PROXY_H_ | 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
| 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "ipc/ipc_channel.h" | 9 #include "ipc/ipc_channel.h" |
| 10 #include "ppapi/c/pp_bool.h" | 10 #include "ppapi/c/pp_bool.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 PP_Resource config_id, | 36 PP_Resource config_id, |
| 37 PPB_Audio_Callback audio_callback, | 37 PPB_Audio_Callback audio_callback, |
| 38 void* user_data) OVERRIDE; | 38 void* user_data) OVERRIDE; |
| 39 virtual PP_Resource CreateAudioConfig(PP_Instance instance, | 39 virtual PP_Resource CreateAudioConfig(PP_Instance instance, |
| 40 PP_AudioSampleRate sample_rate, | 40 PP_AudioSampleRate sample_rate, |
| 41 uint32_t sample_frame_count) OVERRIDE; | 41 uint32_t sample_frame_count) OVERRIDE; |
| 42 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; | 42 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; |
| 43 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 43 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
| 44 virtual PP_Resource CreateBuffer(PP_Instance instance, | 44 virtual PP_Resource CreateBuffer(PP_Instance instance, |
| 45 uint32_t size) OVERRIDE; | 45 uint32_t size) OVERRIDE; |
| 46 virtual PP_Resource CreateContext3D(PP_Instance instance, |
| 47 PP_Config3D_Dev config, |
| 48 PP_Resource share_context, |
| 49 const int32_t* attrib_list) OVERRIDE; |
| 50 virtual PP_Resource CreateContext3DRaw(PP_Instance instance, |
| 51 PP_Config3D_Dev config, |
| 52 PP_Resource share_context, |
| 53 const int32_t* attrib_list) OVERRIDE; |
| 46 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; | 54 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; |
| 47 virtual PP_Resource CreateFileChooser( | 55 virtual PP_Resource CreateFileChooser( |
| 48 PP_Instance instance, | 56 PP_Instance instance, |
| 49 const PP_FileChooserOptions_Dev* options) OVERRIDE; | 57 const PP_FileChooserOptions_Dev* options) OVERRIDE; |
| 50 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; | 58 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; |
| 51 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 59 virtual PP_Resource CreateFileRef(PP_Resource file_system, |
| 52 const char* path) OVERRIDE; | 60 const char* path) OVERRIDE; |
| 53 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 61 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
| 54 PP_FileSystemType_Dev type) OVERRIDE; | 62 PP_FileSystemType_Dev type) OVERRIDE; |
| 55 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 63 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
| 56 const PP_Flash_Menu* menu_data) OVERRIDE; | 64 const PP_Flash_Menu* menu_data) OVERRIDE; |
| 57 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) OVERRIDE; | 65 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) OVERRIDE; |
| 58 virtual PP_Resource CreateFontObject( | 66 virtual PP_Resource CreateFontObject( |
| 59 PP_Instance instance, | 67 PP_Instance instance, |
| 60 const PP_FontDescription_Dev* description) OVERRIDE; | 68 const PP_FontDescription_Dev* description) OVERRIDE; |
| 61 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, | 69 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, |
| 62 const PP_Size& size, | 70 const PP_Size& size, |
| 63 PP_Bool is_always_opaque) OVERRIDE; | 71 PP_Bool is_always_opaque) OVERRIDE; |
| 72 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
| 73 PP_Config3D_Dev config, |
| 74 PP_Resource share_context, |
| 75 const int32_t* attrib_list) OVERRIDE; |
| 64 virtual PP_Resource CreateImageData(PP_Instance instance, | 76 virtual PP_Resource CreateImageData(PP_Instance instance, |
| 65 PP_ImageDataFormat format, | 77 PP_ImageDataFormat format, |
| 66 const PP_Size& size, | 78 const PP_Size& size, |
| 67 PP_Bool init_to_zero) OVERRIDE; | 79 PP_Bool init_to_zero) OVERRIDE; |
| 68 virtual PP_Resource CreateSurface3D(PP_Instance instance, | 80 virtual PP_Resource CreateSurface3D(PP_Instance instance, |
| 69 PP_Config3D_Dev config, | 81 PP_Config3D_Dev config, |
| 70 const int32_t* attrib_list) OVERRIDE; | 82 const int32_t* attrib_list) OVERRIDE; |
| 83 virtual PP_Resource CreateTransport(PP_Instance instance, |
| 84 const char* name, |
| 85 const char* proto) OVERRIDE; |
| 71 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; | 86 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; |
| 72 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) OVERRIDE; | 87 virtual PP_Resource CreateURLRequestInfo(PP_Instance instance) OVERRIDE; |
| 73 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) OVERRIDE; | 88 virtual PP_Resource CreateVideoDecoder(PP_Instance instance) OVERRIDE; |
| 74 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 89 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
| 75 PP_VideoLayerMode_Dev mode) OVERRIDE; | 90 PP_VideoLayerMode_Dev mode) OVERRIDE; |
| 76 | 91 |
| 77 virtual bool Send(IPC::Message* msg) OVERRIDE; | 92 virtual bool Send(IPC::Message* msg) OVERRIDE; |
| 78 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 93 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
| 79 | 94 |
| 80 private: | 95 private: |
| (...skipping 16 matching lines...) Expand all Loading... |
| 97 | 112 |
| 98 Dispatcher* dispatcher_; | 113 Dispatcher* dispatcher_; |
| 99 | 114 |
| 100 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 115 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
| 101 }; | 116 }; |
| 102 | 117 |
| 103 } // namespace proxy | 118 } // namespace proxy |
| 104 } // namespace pp | 119 } // namespace pp |
| 105 | 120 |
| 106 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 121 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
| OLD | NEW |