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