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 CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ |
6 #define CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_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 21 matching lines...) Expand all Loading... |
32 PPB_Audio_Callback audio_callback, | 32 PPB_Audio_Callback audio_callback, |
33 void* user_data) OVERRIDE; | 33 void* user_data) OVERRIDE; |
34 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; | 34 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; |
35 virtual PP_Resource CreateAudioConfig(PP_Instance instance, | 35 virtual PP_Resource CreateAudioConfig(PP_Instance instance, |
36 PP_AudioSampleRate sample_rate, | 36 PP_AudioSampleRate sample_rate, |
37 uint32_t sample_frame_count) OVERRIDE; | 37 uint32_t sample_frame_count) OVERRIDE; |
38 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; | 38 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; |
39 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 39 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
40 virtual PP_Resource CreateBuffer(PP_Instance instance, | 40 virtual PP_Resource CreateBuffer(PP_Instance instance, |
41 uint32_t size) OVERRIDE; | 41 uint32_t size) OVERRIDE; |
42 virtual PP_Resource CreateFileRef(PP_Instance instance, | |
43 PP_Resource file_system, | |
44 const char* path) OVERRIDE; | |
45 virtual PP_Resource CreateFileRef( | |
46 const ppapi::PPB_FileRef_CreateInfo& serialized) OVERRIDE; | |
47 virtual PP_Resource CreateFlashDRM(PP_Instance instance) OVERRIDE; | 42 virtual PP_Resource CreateFlashDRM(PP_Instance instance) OVERRIDE; |
48 virtual PP_Resource CreateFlashFontFile( | 43 virtual PP_Resource CreateFlashFontFile( |
49 PP_Instance instance, | 44 PP_Instance instance, |
50 const PP_BrowserFont_Trusted_Description* description, | 45 const PP_BrowserFont_Trusted_Description* description, |
51 PP_PrivateFontCharset charset) OVERRIDE; | 46 PP_PrivateFontCharset charset) OVERRIDE; |
52 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 47 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
53 const PP_Flash_Menu* menu_data) OVERRIDE; | 48 const PP_Flash_Menu* menu_data) OVERRIDE; |
54 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 49 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
55 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 50 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
56 PP_Resource share_context, | 51 PP_Resource share_context, |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 virtual PP_Resource CreateX509CertificatePrivate( | 137 virtual PP_Resource CreateX509CertificatePrivate( |
143 PP_Instance instance) OVERRIDE; | 138 PP_Instance instance) OVERRIDE; |
144 | 139 |
145 private: | 140 private: |
146 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 141 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
147 }; | 142 }; |
148 | 143 |
149 } // namespace content | 144 } // namespace content |
150 | 145 |
151 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ | 146 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |