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 18 matching lines...) Expand all Loading... |
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_Instance instance, | 37 virtual PP_Resource CreateDirectoryReader(PP_Instance instance, |
38 PP_Resource directory_ref) OVERRIDE; | 38 PP_Resource directory_ref) OVERRIDE; |
39 virtual PP_Resource CreateFileRef(PP_Resource file_system, | 39 virtual PP_Resource CreateFileRef(PP_Instance instance, |
| 40 PP_Resource file_system, |
40 const char* path) OVERRIDE; | 41 const char* path) OVERRIDE; |
41 virtual PP_Resource CreateFileSystem(PP_Instance instance, | |
42 PP_FileSystemType type) OVERRIDE; | |
43 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; | 42 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; |
44 virtual PP_Resource CreateFlashFontFile( | 43 virtual PP_Resource CreateFlashFontFile( |
45 PP_Instance instance, | 44 PP_Instance instance, |
46 const PP_BrowserFont_Trusted_Description* description, | 45 const PP_BrowserFont_Trusted_Description* description, |
47 PP_PrivateFontCharset charset) OVERRIDE; | 46 PP_PrivateFontCharset charset) OVERRIDE; |
48 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 47 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
49 const PP_Flash_Menu* menu_data) OVERRIDE; | 48 const PP_Flash_Menu* menu_data) OVERRIDE; |
50 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 49 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
51 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 50 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
52 PP_Resource share_context, | 51 PP_Resource share_context, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 PP_Instance instance) OVERRIDE; | 123 PP_Instance instance) OVERRIDE; |
125 | 124 |
126 private: | 125 private: |
127 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 126 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
128 }; | 127 }; |
129 | 128 |
130 } // namespace ppapi | 129 } // namespace ppapi |
131 } // namespace webkit | 130 } // namespace webkit |
132 | 131 |
133 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 132 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |