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_THUNK_RESOURCE_CREATION_API_H_ | 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
7 | 7 |
8 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 8 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
9 #include "ppapi/c/pp_bool.h" | 9 #include "ppapi/c/pp_bool.h" |
10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 PP_Instance instance) = 0; | 103 PP_Instance instance) = 0; |
104 | 104 |
105 virtual PP_Resource CreateWheelInputEvent( | 105 virtual PP_Resource CreateWheelInputEvent( |
106 PP_Instance instance, | 106 PP_Instance instance, |
107 PP_TimeTicks time_stamp, | 107 PP_TimeTicks time_stamp, |
108 uint32_t modifiers, | 108 uint32_t modifiers, |
109 const PP_FloatPoint* wheel_delta, | 109 const PP_FloatPoint* wheel_delta, |
110 const PP_FloatPoint* wheel_ticks, | 110 const PP_FloatPoint* wheel_ticks, |
111 PP_Bool scroll_by_page) = 0; | 111 PP_Bool scroll_by_page) = 0; |
112 | 112 |
| 113 virtual PP_Resource CreateAudio1_0(PP_Instance instance, |
| 114 PP_Resource config_id, |
| 115 PPB_Audio_Callback_1_0 audio_callback, |
| 116 void* user_data) = 0; |
113 virtual PP_Resource CreateAudio(PP_Instance instance, | 117 virtual PP_Resource CreateAudio(PP_Instance instance, |
114 PP_Resource config_id, | 118 PP_Resource config_id, |
115 PPB_Audio_Callback audio_callback, | 119 PPB_Audio_Callback audio_callback, |
116 void* user_data) = 0; | 120 void* user_data) = 0; |
117 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) = 0; | 121 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) = 0; |
118 virtual PP_Resource CreateAudioConfig(PP_Instance instance, | 122 virtual PP_Resource CreateAudioConfig(PP_Instance instance, |
119 PP_AudioSampleRate sample_rate, | 123 PP_AudioSampleRate sample_rate, |
120 uint32_t sample_frame_count) = 0; | 124 uint32_t sample_frame_count) = 0; |
121 virtual PP_Resource CreateFileChooser(PP_Instance instance, | 125 virtual PP_Resource CreateFileChooser(PP_Instance instance, |
122 PP_FileChooserMode_Dev mode, | 126 PP_FileChooserMode_Dev mode, |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 PP_VideoDecoder_Profile profile) = 0; | 192 PP_VideoDecoder_Profile profile) = 0; |
189 #endif // !defined(OS_NACL) | 193 #endif // !defined(OS_NACL) |
190 | 194 |
191 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 195 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
192 }; | 196 }; |
193 | 197 |
194 } // namespace thunk | 198 } // namespace thunk |
195 } // namespace ppapi | 199 } // namespace ppapi |
196 | 200 |
197 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 201 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |