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 16 matching lines...) Expand all Loading... |
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 CreateAudioInput(PP_Instance instance) OVERRIDE; | 33 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; |
34 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 34 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
35 virtual PP_Resource CreateBuffer(PP_Instance instance, | 35 virtual PP_Resource CreateBuffer(PP_Instance instance, |
36 uint32_t size) OVERRIDE; | 36 uint32_t size) OVERRIDE; |
37 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; | 37 virtual PP_Resource CreateDirectoryReader(PP_Instance instance, |
| 38 PP_Resource directory_ref) OVERRIDE; |
38 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 39 virtual PP_Resource CreateFileRef(PP_Resource file_system, |
39 const char* path) OVERRIDE; | 40 const char* path) OVERRIDE; |
40 virtual PP_Resource CreateFileSystem(PP_Instance instance, | 41 virtual PP_Resource CreateFileSystem(PP_Instance instance, |
41 PP_FileSystemType type) OVERRIDE; | 42 PP_FileSystemType type) OVERRIDE; |
42 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; | 43 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; |
43 virtual PP_Resource CreateFlashFontFile( | 44 virtual PP_Resource CreateFlashFontFile( |
44 PP_Instance instance, | 45 PP_Instance instance, |
45 const PP_BrowserFont_Trusted_Description* description, | 46 const PP_BrowserFont_Trusted_Description* description, |
46 PP_PrivateFontCharset charset) OVERRIDE; | 47 PP_PrivateFontCharset charset) OVERRIDE; |
47 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 48 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 PP_Instance instance) OVERRIDE; | 124 PP_Instance instance) OVERRIDE; |
124 | 125 |
125 private: | 126 private: |
126 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 127 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
127 }; | 128 }; |
128 | 129 |
129 } // namespace ppapi | 130 } // namespace ppapi |
130 } // namespace webkit | 131 } // namespace webkit |
131 | 132 |
132 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 133 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |