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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 | 186 |
186 private: | 187 private: |
187 Connection GetConnection(); | 188 Connection GetConnection(); |
188 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 189 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
189 }; | 190 }; |
190 | 191 |
191 } // namespace proxy | 192 } // namespace proxy |
192 } // namespace ppapi | 193 } // namespace ppapi |
193 | 194 |
194 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 195 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |