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

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

Issue 10412014: Get PPB_Audio interface building as untrusted code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_audio_input_dev.h" 8 #include "ppapi/c/dev/ppb_audio_input_dev.h"
9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 PP_Instance instance, 71 PP_Instance instance,
72 const PPB_URLRequestInfo_Data& data) = 0; 72 const PPB_URLRequestInfo_Data& data) = 0;
73 virtual PP_Resource CreateWheelInputEvent( 73 virtual PP_Resource CreateWheelInputEvent(
74 PP_Instance instance, 74 PP_Instance instance,
75 PP_TimeTicks time_stamp, 75 PP_TimeTicks time_stamp,
76 uint32_t modifiers, 76 uint32_t modifiers,
77 const PP_FloatPoint* wheel_delta, 77 const PP_FloatPoint* wheel_delta,
78 const PP_FloatPoint* wheel_ticks, 78 const PP_FloatPoint* wheel_ticks,
79 PP_Bool scroll_by_page) = 0; 79 PP_Bool scroll_by_page) = 0;
80 80
81 #if !defined(OS_NACL)
82 virtual PP_Resource CreateAudio(PP_Instance instance, 81 virtual PP_Resource CreateAudio(PP_Instance instance,
83 PP_Resource config_id, 82 PP_Resource config_id,
84 PPB_Audio_Callback audio_callback, 83 PPB_Audio_Callback audio_callback,
85 void* user_data) = 0; 84 void* user_data) = 0;
86 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) = 0;
87 virtual PP_Resource CreateAudioConfig(PP_Instance instance, 85 virtual PP_Resource CreateAudioConfig(PP_Instance instance,
88 PP_AudioSampleRate sample_rate, 86 PP_AudioSampleRate sample_rate,
89 uint32_t sample_frame_count) = 0; 87 uint32_t sample_frame_count) = 0;
88 #if !defined(OS_NACL)
89 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) = 0;
90 virtual PP_Resource CreateAudioInput0_1( 90 virtual PP_Resource CreateAudioInput0_1(
91 PP_Instance instance, 91 PP_Instance instance,
92 PP_Resource config_id, 92 PP_Resource config_id,
93 PPB_AudioInput_Callback audio_input_callback, 93 PPB_AudioInput_Callback audio_input_callback,
94 void* user_data) = 0; 94 void* user_data) = 0;
95 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0; 95 virtual PP_Resource CreateAudioInput(PP_Instance instance) = 0;
96 virtual PP_Resource CreateBroker(PP_Instance instance) = 0; 96 virtual PP_Resource CreateBroker(PP_Instance instance) = 0;
97 virtual PP_Resource CreateBrowserFont( 97 virtual PP_Resource CreateBrowserFont(
98 PP_Instance instance, 98 PP_Instance instance,
99 const PP_BrowserFont_Trusted_Description* description) = 0; 99 const PP_BrowserFont_Trusted_Description* description) = 0;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; 144 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0;
145 #endif // !defined(OS_NACL) 145 #endif // !defined(OS_NACL)
146 146
147 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 147 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
148 }; 148 };
149 149
150 } // namespace thunk 150 } // namespace thunk
151 } // namespace ppapi 151 } // namespace ppapi
152 152
153 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 153 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698