Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(605)

Side by Side Diff: ppapi/thunk/resource_creation_api.h

Issue 22320004: Add a new parameter |latency| to PPB_Audio. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW
« ppapi/shared_impl/ppb_audio_shared.cc ('K') | « ppapi/thunk/ppb_audio_thunk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698