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/thunk/resource_creation_api.h" | 10 #include "ppapi/thunk/resource_creation_api.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 // ResourceCreationAPI implementation. | 24 // ResourceCreationAPI implementation. |
25 virtual PP_Resource CreateAudio(PP_Instance instance, | 25 virtual PP_Resource CreateAudio(PP_Instance instance, |
26 PP_Resource config_id, | 26 PP_Resource config_id, |
27 PPB_Audio_Callback audio_callback, | 27 PPB_Audio_Callback audio_callback, |
28 void* user_data) OVERRIDE; | 28 void* user_data) OVERRIDE; |
29 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; | 29 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; |
30 virtual PP_Resource CreateAudioConfig(PP_Instance instance, | 30 virtual PP_Resource CreateAudioConfig(PP_Instance instance, |
31 PP_AudioSampleRate sample_rate, | 31 PP_AudioSampleRate sample_rate, |
32 uint32_t sample_frame_count) OVERRIDE; | 32 uint32_t sample_frame_count) OVERRIDE; |
33 virtual PP_Resource CreateAudioInput0_1( | |
34 PP_Instance instance, | |
35 PP_Resource config_id, | |
36 PPB_AudioInput_Callback audio_input_callback, | |
37 void* user_data) OVERRIDE; | |
38 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; | 33 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; |
39 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 34 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
40 virtual PP_Resource CreateBrowserFont( | 35 virtual PP_Resource CreateBrowserFont( |
41 PP_Instance instance, | 36 PP_Instance instance, |
42 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; | 37 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; |
43 virtual PP_Resource CreateBuffer(PP_Instance instance, | 38 virtual PP_Resource CreateBuffer(PP_Instance instance, |
44 uint32_t size) OVERRIDE; | 39 uint32_t size) OVERRIDE; |
45 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; | 40 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; |
46 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; | 41 virtual PP_Resource CreateFileIO(PP_Instance instance) OVERRIDE; |
47 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 42 virtual PP_Resource CreateFileRef(PP_Resource file_system, |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 PP_Instance instance) OVERRIDE; | 131 PP_Instance instance) OVERRIDE; |
137 | 132 |
138 private: | 133 private: |
139 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 134 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
140 }; | 135 }; |
141 | 136 |
142 } // namespace ppapi | 137 } // namespace ppapi |
143 } // namespace webkit | 138 } // namespace webkit |
144 | 139 |
145 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 140 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |