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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; | 87 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; |
88 virtual PP_Resource CreateURLRequestInfo( | 88 virtual PP_Resource CreateURLRequestInfo( |
89 PP_Instance instance) OVERRIDE; | 89 PP_Instance instance) OVERRIDE; |
90 virtual PP_Resource CreateWheelInputEvent( | 90 virtual PP_Resource CreateWheelInputEvent( |
91 PP_Instance instance, | 91 PP_Instance instance, |
92 PP_TimeTicks time_stamp, | 92 PP_TimeTicks time_stamp, |
93 uint32_t modifiers, | 93 uint32_t modifiers, |
94 const PP_FloatPoint* wheel_delta, | 94 const PP_FloatPoint* wheel_delta, |
95 const PP_FloatPoint* wheel_ticks, | 95 const PP_FloatPoint* wheel_ticks, |
96 PP_Bool scroll_by_page) OVERRIDE; | 96 PP_Bool scroll_by_page) OVERRIDE; |
97 | 97 virtual PP_Resource CreateAudio1_0(PP_Instance instance, |
| 98 PP_Resource config_id, |
| 99 PPB_Audio_Callback_1_0 audio_callback, |
| 100 void* user_data) OVERRIDE; |
98 virtual PP_Resource CreateAudio(PP_Instance instance, | 101 virtual PP_Resource CreateAudio(PP_Instance instance, |
99 PP_Resource config_id, | 102 PP_Resource config_id, |
100 PPB_Audio_Callback audio_callback, | 103 PPB_Audio_Callback audio_callback, |
101 void* user_data) OVERRIDE; | 104 void* user_data) OVERRIDE; |
102 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; | 105 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; |
103 virtual PP_Resource CreateAudioConfig(PP_Instance instance, | 106 virtual PP_Resource CreateAudioConfig(PP_Instance instance, |
104 PP_AudioSampleRate sample_rate, | 107 PP_AudioSampleRate sample_rate, |
105 uint32_t sample_frame_count) OVERRIDE; | 108 uint32_t sample_frame_count) OVERRIDE; |
106 virtual PP_Resource CreateFileChooser(PP_Instance instance, | 109 virtual PP_Resource CreateFileChooser(PP_Instance instance, |
107 PP_FileChooserMode_Dev mode, | 110 PP_FileChooserMode_Dev mode, |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 | 185 |
183 private: | 186 private: |
184 Connection GetConnection(); | 187 Connection GetConnection(); |
185 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 188 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
186 }; | 189 }; |
187 | 190 |
188 } // namespace proxy | 191 } // namespace proxy |
189 } // namespace ppapi | 192 } // namespace ppapi |
190 | 193 |
191 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 194 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |