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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 PP_Instance instance) = 0; | 101 PP_Instance instance) = 0; |
102 | 102 |
103 virtual PP_Resource CreateWheelInputEvent( | 103 virtual PP_Resource CreateWheelInputEvent( |
104 PP_Instance instance, | 104 PP_Instance instance, |
105 PP_TimeTicks time_stamp, | 105 PP_TimeTicks time_stamp, |
106 uint32_t modifiers, | 106 uint32_t modifiers, |
107 const PP_FloatPoint* wheel_delta, | 107 const PP_FloatPoint* wheel_delta, |
108 const PP_FloatPoint* wheel_ticks, | 108 const PP_FloatPoint* wheel_ticks, |
109 PP_Bool scroll_by_page) = 0; | 109 PP_Bool scroll_by_page) = 0; |
110 | 110 |
| 111 virtual PP_Resource CreateAudio1_0(PP_Instance instance, |
| 112 PP_Resource config_id, |
| 113 PPB_Audio_Callback_1_0 audio_callback, |
| 114 void* user_data) = 0; |
111 virtual PP_Resource CreateAudio(PP_Instance instance, | 115 virtual PP_Resource CreateAudio(PP_Instance instance, |
112 PP_Resource config_id, | 116 PP_Resource config_id, |
113 PPB_Audio_Callback audio_callback, | 117 PPB_Audio_Callback audio_callback, |
114 void* user_data) = 0; | 118 void* user_data) = 0; |
115 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) = 0; | 119 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) = 0; |
116 virtual PP_Resource CreateAudioConfig(PP_Instance instance, | 120 virtual PP_Resource CreateAudioConfig(PP_Instance instance, |
117 PP_AudioSampleRate sample_rate, | 121 PP_AudioSampleRate sample_rate, |
118 uint32_t sample_frame_count) = 0; | 122 uint32_t sample_frame_count) = 0; |
119 virtual PP_Resource CreateFileChooser(PP_Instance instance, | 123 virtual PP_Resource CreateFileChooser(PP_Instance instance, |
120 PP_FileChooserMode_Dev mode, | 124 PP_FileChooserMode_Dev mode, |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 PP_VideoDecoder_Profile profile) = 0; | 187 PP_VideoDecoder_Profile profile) = 0; |
184 #endif // !defined(OS_NACL) | 188 #endif // !defined(OS_NACL) |
185 | 189 |
186 static const ApiID kApiID = API_ID_RESOURCE_CREATION; | 190 static const ApiID kApiID = API_ID_RESOURCE_CREATION; |
187 }; | 191 }; |
188 | 192 |
189 } // namespace thunk | 193 } // namespace thunk |
190 } // namespace ppapi | 194 } // namespace ppapi |
191 | 195 |
192 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ | 196 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ |
OLD | NEW |