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

Side by Side Diff: ppapi/proxy/resource_creation_proxy.h

Issue 10694115: Get the audio proxy building as untrusted code for NaCl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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/ppb_audio_proxy.cc ('k') | ppapi/proxy/resource_creation_proxy.cc » ('j') | 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_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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 PP_TimeTicks time_stamp, 83 PP_TimeTicks time_stamp,
84 uint32_t modifiers, 84 uint32_t modifiers,
85 const PP_FloatPoint* wheel_delta, 85 const PP_FloatPoint* wheel_delta,
86 const PP_FloatPoint* wheel_ticks, 86 const PP_FloatPoint* wheel_ticks,
87 PP_Bool scroll_by_page) OVERRIDE; 87 PP_Bool scroll_by_page) OVERRIDE;
88 88
89 virtual PP_Resource CreateAudio(PP_Instance instance, 89 virtual PP_Resource CreateAudio(PP_Instance instance,
90 PP_Resource config_id, 90 PP_Resource config_id,
91 PPB_Audio_Callback audio_callback, 91 PPB_Audio_Callback audio_callback,
92 void* user_data) OVERRIDE; 92 void* user_data) OVERRIDE;
93 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE;
93 virtual PP_Resource CreateAudioConfig(PP_Instance instance, 94 virtual PP_Resource CreateAudioConfig(PP_Instance instance,
94 PP_AudioSampleRate sample_rate, 95 PP_AudioSampleRate sample_rate,
95 uint32_t sample_frame_count) OVERRIDE; 96 uint32_t sample_frame_count) OVERRIDE;
96 virtual PP_Resource CreateImageData(PP_Instance instance, 97 virtual PP_Resource CreateImageData(PP_Instance instance,
97 PP_ImageDataFormat format, 98 PP_ImageDataFormat format,
98 const PP_Size& size, 99 const PP_Size& size,
99 PP_Bool init_to_zero) OVERRIDE; 100 PP_Bool init_to_zero) OVERRIDE;
100 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, 101 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance,
101 const PP_Size& size, 102 const PP_Size& size,
102 PP_Bool is_always_opaque) OVERRIDE; 103 PP_Bool is_always_opaque) OVERRIDE;
103 #if !defined(OS_NACL) 104 #if !defined(OS_NACL)
104 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE;
105 virtual PP_Resource CreateAudioInput0_1( 105 virtual PP_Resource CreateAudioInput0_1(
106 PP_Instance instance, 106 PP_Instance instance,
107 PP_Resource config_id, 107 PP_Resource config_id,
108 PPB_AudioInput_Callback audio_input_callback, 108 PPB_AudioInput_Callback audio_input_callback,
109 void* user_data) OVERRIDE; 109 void* user_data) OVERRIDE;
110 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; 110 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE;
111 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; 111 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE;
112 virtual PP_Resource CreateBrowserFont( 112 virtual PP_Resource CreateBrowserFont(
113 PP_Instance instance, 113 PP_Instance instance,
114 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; 114 const PP_BrowserFont_Trusted_Description* description) OVERRIDE;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 158 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
159 159
160 private: 160 private:
161 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 161 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
162 }; 162 };
163 163
164 } // namespace proxy 164 } // namespace proxy
165 } // namespace ppapi 165 } // namespace ppapi
166 166
167 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 167 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_audio_proxy.cc ('k') | ppapi/proxy/resource_creation_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698