| 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 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 // ResourceCreationAPI implementation. | 25 // ResourceCreationAPI implementation. |
| 26 PP_Resource CreateAudio1_0(PP_Instance instance, | 26 PP_Resource CreateAudio1_0(PP_Instance instance, |
| 27 PP_Resource config_id, | 27 PP_Resource config_id, |
| 28 PPB_Audio_Callback_1_0 audio_callback, | 28 PPB_Audio_Callback_1_0 audio_callback, |
| 29 void* user_data) override; | 29 void* user_data) override; |
| 30 PP_Resource CreateAudio(PP_Instance instance, | 30 PP_Resource CreateAudio(PP_Instance instance, |
| 31 PP_Resource config_id, | 31 PP_Resource config_id, |
| 32 PPB_Audio_Callback audio_callback, | 32 PPB_Audio_Callback audio_callback, |
| 33 void* user_data) override; | 33 void* user_data) override; |
| 34 PP_Resource CreateAudioEncoder(PP_Instance instance) override; |
| 34 PP_Resource CreateAudioTrusted(PP_Instance instance) override; | 35 PP_Resource CreateAudioTrusted(PP_Instance instance) override; |
| 35 PP_Resource CreateAudioConfig(PP_Instance instance, | 36 PP_Resource CreateAudioConfig(PP_Instance instance, |
| 36 PP_AudioSampleRate sample_rate, | 37 PP_AudioSampleRate sample_rate, |
| 37 uint32_t sample_frame_count) override; | 38 uint32_t sample_frame_count) override; |
| 38 PP_Resource CreateAudioInput(PP_Instance instance) override; | 39 PP_Resource CreateAudioInput(PP_Instance instance) override; |
| 39 PP_Resource CreateCompositor(PP_Instance instance) override; | 40 PP_Resource CreateCompositor(PP_Instance instance) override; |
| 40 PP_Resource CreateBroker(PP_Instance instance) override; | 41 PP_Resource CreateBroker(PP_Instance instance) override; |
| 41 PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) override; | 42 PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) override; |
| 42 PP_Resource CreateCameraDevicePrivate(PP_Instance instance) override; | 43 PP_Resource CreateCameraDevicePrivate(PP_Instance instance) override; |
| 43 PP_Resource CreateFlashDRM(PP_Instance instance) override; | 44 PP_Resource CreateFlashDRM(PP_Instance instance) override; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 PP_Bool scroll_by_page) override; | 138 PP_Bool scroll_by_page) override; |
| 138 PP_Resource CreateX509CertificatePrivate(PP_Instance instance) override; | 139 PP_Resource CreateX509CertificatePrivate(PP_Instance instance) override; |
| 139 | 140 |
| 140 private: | 141 private: |
| 141 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 142 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
| 142 }; | 143 }; |
| 143 | 144 |
| 144 } // namespace content | 145 } // namespace content |
| 145 | 146 |
| 146 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ | 147 #endif // CONTENT_RENDERER_PEPPER_RESOURCE_CREATION_IMPL_H_ |
| OLD | NEW |