| 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_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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 PP_AudioSampleRate sample_rate, | 46 PP_AudioSampleRate sample_rate, |
| 47 uint32_t sample_frame_count) OVERRIDE; | 47 uint32_t sample_frame_count) OVERRIDE; |
| 48 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; | 48 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; |
| 49 virtual PP_Resource CreateAudioInput( | 49 virtual PP_Resource CreateAudioInput( |
| 50 PP_Instance instance, | 50 PP_Instance instance, |
| 51 PP_Resource config_id, | 51 PP_Resource config_id, |
| 52 PPB_AudioInput_Callback audio_input_callback, | 52 PPB_AudioInput_Callback audio_input_callback, |
| 53 void* user_data) OVERRIDE; | 53 void* user_data) OVERRIDE; |
| 54 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) OVERRIDE; | 54 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) OVERRIDE; |
| 55 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 55 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
| 56 virtual PP_Resource CreateBrowserFont( |
| 57 PP_Instance instance, |
| 58 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; |
| 56 virtual PP_Resource CreateBuffer(PP_Instance instance, | 59 virtual PP_Resource CreateBuffer(PP_Instance instance, |
| 57 uint32_t size) OVERRIDE; | 60 uint32_t size) OVERRIDE; |
| 58 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; | 61 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; |
| 59 virtual PP_Resource CreateFileChooser( | 62 virtual PP_Resource CreateFileChooser( |
| 60 PP_Instance instance, | 63 PP_Instance instance, |
| 61 PP_FileChooserMode_Dev mode, | 64 PP_FileChooserMode_Dev mode, |
| 62 const char* accept_mime_types) OVERRIDE; | 65 const char* accept_mime_types) OVERRIDE; |
| 63 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; | 66 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; |
| 64 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 67 virtual PP_Resource CreateFileRef(PP_Resource file_system, |
| 65 const char* path) OVERRIDE; | 68 const char* path) OVERRIDE; |
| 66 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 69 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
| 67 PP_FileSystemType type) OVERRIDE; | 70 PP_FileSystemType type) OVERRIDE; |
| 68 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 71 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
| 69 const PP_Flash_Menu* menu_data) OVERRIDE; | 72 const PP_Flash_Menu* menu_data) OVERRIDE; |
| 70 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 73 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
| 71 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) OVERRIDE; | 74 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) OVERRIDE; |
| 72 virtual PP_Resource CreateFontObject( | |
| 73 PP_Instance instance, | |
| 74 const PP_FontDescription_Dev* description) OVERRIDE; | |
| 75 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, | 75 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, |
| 76 const PP_Size& size, | 76 const PP_Size& size, |
| 77 PP_Bool is_always_opaque) OVERRIDE; | 77 PP_Bool is_always_opaque) OVERRIDE; |
| 78 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 78 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
| 79 PP_Resource share_context, | 79 PP_Resource share_context, |
| 80 const int32_t* attrib_list) OVERRIDE; | 80 const int32_t* attrib_list) OVERRIDE; |
| 81 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 81 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
| 82 PP_Resource share_context, | 82 PP_Resource share_context, |
| 83 const int32_t* attrib_list) OVERRIDE; | 83 const int32_t* attrib_list) OVERRIDE; |
| 84 virtual PP_Resource CreateImageData(PP_Instance instance, | 84 virtual PP_Resource CreateImageData(PP_Instance instance, |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 135 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
| 136 | 136 |
| 137 private: | 137 private: |
| 138 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 138 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 } // namespace proxy | 141 } // namespace proxy |
| 142 } // namespace ppapi | 142 } // namespace ppapi |
| 143 | 143 |
| 144 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 144 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
| OLD | NEW |