| 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 WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "ppapi/shared_impl/function_group_base.h" | 10 #include "ppapi/shared_impl/function_group_base.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 virtual PP_Resource CreateAudioConfig(PP_Instance instance, | 33 virtual PP_Resource CreateAudioConfig(PP_Instance instance, |
| 34 PP_AudioSampleRate sample_rate, | 34 PP_AudioSampleRate sample_rate, |
| 35 uint32_t sample_frame_count) OVERRIDE; | 35 uint32_t sample_frame_count) OVERRIDE; |
| 36 virtual PP_Resource CreateAudioInput( | 36 virtual PP_Resource CreateAudioInput( |
| 37 PP_Instance instance, | 37 PP_Instance instance, |
| 38 PP_Resource config_id, | 38 PP_Resource config_id, |
| 39 PPB_AudioInput_Callback audio_input_callback, | 39 PPB_AudioInput_Callback audio_input_callback, |
| 40 void* user_data) OVERRIDE; | 40 void* user_data) OVERRIDE; |
| 41 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) OVERRIDE; | 41 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) OVERRIDE; |
| 42 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 42 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
| 43 virtual PP_Resource CreateBrowserFont( |
| 44 PP_Instance instance, |
| 45 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; |
| 43 virtual PP_Resource CreateBuffer(PP_Instance instance, | 46 virtual PP_Resource CreateBuffer(PP_Instance instance, |
| 44 uint32_t size) OVERRIDE; | 47 uint32_t size) OVERRIDE; |
| 45 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; | 48 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; |
| 46 virtual PP_Resource CreateFileChooser( | 49 virtual PP_Resource CreateFileChooser( |
| 47 PP_Instance instance, | 50 PP_Instance instance, |
| 48 PP_FileChooserMode_Dev mode, | 51 PP_FileChooserMode_Dev mode, |
| 49 const char* accept_mime_types) OVERRIDE; | 52 const char* accept_mime_types) OVERRIDE; |
| 50 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; | 53 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; |
| 51 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 54 virtual PP_Resource CreateFileRef(PP_Resource file_system, |
| 52 const char* path) OVERRIDE; | 55 const char* path) OVERRIDE; |
| 53 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 56 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
| 54 PP_FileSystemType type) OVERRIDE; | 57 PP_FileSystemType type) OVERRIDE; |
| 55 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 58 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
| 56 const PP_Flash_Menu* menu_data) OVERRIDE; | 59 const PP_Flash_Menu* menu_data) OVERRIDE; |
| 57 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 60 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
| 58 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) OVERRIDE; | 61 virtual PP_Resource CreateFlashNetConnector(PP_Instance instance) OVERRIDE; |
| 59 virtual PP_Resource CreateFontObject( | |
| 60 PP_Instance instance, | |
| 61 const PP_FontDescription_Dev* description) OVERRIDE; | |
| 62 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, | 62 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, |
| 63 const PP_Size& size, | 63 const PP_Size& size, |
| 64 PP_Bool is_always_opaque) OVERRIDE; | 64 PP_Bool is_always_opaque) OVERRIDE; |
| 65 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 65 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
| 66 PP_Resource share_context, | 66 PP_Resource share_context, |
| 67 const int32_t* attrib_list) OVERRIDE; | 67 const int32_t* attrib_list) OVERRIDE; |
| 68 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, | 68 virtual PP_Resource CreateGraphics3DRaw(PP_Instance instance, |
| 69 PP_Resource share_context, | 69 PP_Resource share_context, |
| 70 const int32_t* attrib_list) OVERRIDE; | 70 const int32_t* attrib_list) OVERRIDE; |
| 71 virtual PP_Resource CreateImageData(PP_Instance instance, | 71 virtual PP_Resource CreateImageData(PP_Instance instance, |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 PP_Bool scroll_by_page) OVERRIDE; | 119 PP_Bool scroll_by_page) OVERRIDE; |
| 120 | 120 |
| 121 private: | 121 private: |
| 122 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 122 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
| 123 }; | 123 }; |
| 124 | 124 |
| 125 } // namespace ppapi | 125 } // namespace ppapi |
| 126 } // namespace webkit | 126 } // namespace webkit |
| 127 | 127 |
| 128 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 128 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
| OLD | NEW |