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 PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 const PP_FloatPoint* wheel_ticks, | 94 const PP_FloatPoint* wheel_ticks, |
95 PP_Bool scroll_by_page) override; | 95 PP_Bool scroll_by_page) override; |
96 PP_Resource CreateAudio1_0(PP_Instance instance, | 96 PP_Resource CreateAudio1_0(PP_Instance instance, |
97 PP_Resource config_id, | 97 PP_Resource config_id, |
98 PPB_Audio_Callback_1_0 audio_callback, | 98 PPB_Audio_Callback_1_0 audio_callback, |
99 void* user_data) override; | 99 void* user_data) override; |
100 PP_Resource CreateAudio(PP_Instance instance, | 100 PP_Resource CreateAudio(PP_Instance instance, |
101 PP_Resource config_id, | 101 PP_Resource config_id, |
102 PPB_Audio_Callback audio_callback, | 102 PPB_Audio_Callback audio_callback, |
103 void* user_data) override; | 103 void* user_data) override; |
| 104 PP_Resource CreateAudioEncoder(PP_Instance instance) override; |
104 PP_Resource CreateAudioTrusted(PP_Instance instance) override; | 105 PP_Resource CreateAudioTrusted(PP_Instance instance) override; |
105 PP_Resource CreateAudioConfig(PP_Instance instance, | 106 PP_Resource CreateAudioConfig(PP_Instance instance, |
106 PP_AudioSampleRate sample_rate, | 107 PP_AudioSampleRate sample_rate, |
107 uint32_t sample_frame_count) override; | 108 uint32_t sample_frame_count) override; |
108 PP_Resource CreateCameraDevicePrivate(PP_Instance instance) override; | 109 PP_Resource CreateCameraDevicePrivate(PP_Instance instance) override; |
109 PP_Resource CreateCompositor(PP_Instance instance) override; | 110 PP_Resource CreateCompositor(PP_Instance instance) override; |
110 PP_Resource CreateFileChooser(PP_Instance instance, | 111 PP_Resource CreateFileChooser(PP_Instance instance, |
111 PP_FileChooserMode_Dev mode, | 112 PP_FileChooserMode_Dev mode, |
112 const PP_Var& accept_types) override; | 113 const PP_Var& accept_types) override; |
113 PP_Resource CreateGraphics2D(PP_Instance pp_instance, | 114 PP_Resource CreateGraphics2D(PP_Instance pp_instance, |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 188 |
188 private: | 189 private: |
189 Connection GetConnection(); | 190 Connection GetConnection(); |
190 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 191 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
191 }; | 192 }; |
192 | 193 |
193 } // namespace proxy | 194 } // namespace proxy |
194 } // namespace ppapi | 195 } // namespace ppapi |
195 | 196 |
196 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 197 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |