| 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 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 11 matching lines...) Expand all Loading... |
| 22 virtual ~ResourceCreationImpl(); | 22 virtual ~ResourceCreationImpl(); |
| 23 | 23 |
| 24 // FunctionGroupBase implementation. | 24 // FunctionGroupBase implementation. |
| 25 virtual ::ppapi::thunk::ResourceCreationAPI* AsResourceCreationAPI(); | 25 virtual ::ppapi::thunk::ResourceCreationAPI* AsResourceCreationAPI(); |
| 26 | 26 |
| 27 // ResourceCreationAPI implementation. | 27 // ResourceCreationAPI implementation. |
| 28 virtual PP_Resource CreateAudio(PP_Instance instance, | 28 virtual PP_Resource CreateAudio(PP_Instance instance, |
| 29 PP_Resource config_id, | 29 PP_Resource config_id, |
| 30 PPB_Audio_Callback audio_callback, | 30 PPB_Audio_Callback audio_callback, |
| 31 void* user_data) OVERRIDE; | 31 void* user_data) OVERRIDE; |
| 32 virtual PP_Resource CreateAudioTrusted(PP_Instance instace) OVERRIDE; | 32 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; |
| 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( |
| 37 PP_Instance instance, |
| 38 PP_Resource config_id, |
| 39 PPB_AudioInput_Callback audio_input_callback, |
| 40 void* user_data) OVERRIDE; |
| 41 virtual PP_Resource CreateAudioInputTrusted(PP_Instance instance) OVERRIDE; |
| 36 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 42 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
| 37 virtual PP_Resource CreateBuffer(PP_Instance instance, | 43 virtual PP_Resource CreateBuffer(PP_Instance instance, |
| 38 uint32_t size) OVERRIDE; | 44 uint32_t size) OVERRIDE; |
| 39 virtual PP_Resource CreateContext3D(PP_Instance instance, | 45 virtual PP_Resource CreateContext3D(PP_Instance instance, |
| 40 PP_Config3D_Dev config, | 46 PP_Config3D_Dev config, |
| 41 PP_Resource share_context, | 47 PP_Resource share_context, |
| 42 const int32_t* attrib_list) OVERRIDE; | 48 const int32_t* attrib_list) OVERRIDE; |
| 43 virtual PP_Resource CreateContext3DRaw(PP_Instance instance, | 49 virtual PP_Resource CreateContext3DRaw(PP_Instance instance, |
| 44 PP_Config3D_Dev config, | 50 PP_Config3D_Dev config, |
| 45 PP_Resource share_context, | 51 PP_Resource share_context, |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 PP_Bool scroll_by_page) OVERRIDE; | 125 PP_Bool scroll_by_page) OVERRIDE; |
| 120 | 126 |
| 121 private: | 127 private: |
| 122 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 128 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
| 123 }; | 129 }; |
| 124 | 130 |
| 125 } // namespace ppapi | 131 } // namespace ppapi |
| 126 } // namespace webkit | 132 } // namespace webkit |
| 127 | 133 |
| 128 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 134 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
| OLD | NEW |