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