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

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

Issue 10790063: PPAPI/NaCl: Make ImageData for NaCl just use shared memory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make PPB_ImageData_API base non-exported Created 8 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
« no previous file with comments | « ppapi/proxy/ppb_image_data_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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 CreateAudioTrusted(PP_Instance instance) OVERRIDE;
94 virtual PP_Resource CreateAudioConfig(PP_Instance instance, 94 virtual PP_Resource CreateAudioConfig(PP_Instance instance,
95 PP_AudioSampleRate sample_rate, 95 PP_AudioSampleRate sample_rate,
96 uint32_t sample_frame_count) OVERRIDE; 96 uint32_t sample_frame_count) OVERRIDE;
97 virtual PP_Resource CreateImageData(PP_Instance instance, 97 virtual PP_Resource CreateImageData(PP_Instance instance,
98 PP_ImageDataFormat format, 98 PP_ImageDataFormat format,
99 const PP_Size& size, 99 const PP_Size& size,
100 PP_Bool init_to_zero) OVERRIDE; 100 PP_Bool init_to_zero) OVERRIDE;
101 virtual PP_Resource CreateImageDataNaCl(PP_Instance instance,
102 PP_ImageDataFormat format,
103 const PP_Size& size,
104 PP_Bool init_to_zero) OVERRIDE;
101 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, 105 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance,
102 const PP_Size& size, 106 const PP_Size& size,
103 PP_Bool is_always_opaque) OVERRIDE; 107 PP_Bool is_always_opaque) OVERRIDE;
104 #if !defined(OS_NACL) 108 #if !defined(OS_NACL)
105 virtual PP_Resource CreateAudioInput0_1( 109 virtual PP_Resource CreateAudioInput0_1(
106 PP_Instance instance, 110 PP_Instance instance,
107 PP_Resource config_id, 111 PP_Resource config_id,
108 PPB_AudioInput_Callback audio_input_callback, 112 PPB_AudioInput_Callback audio_input_callback,
109 void* user_data) OVERRIDE; 113 void* user_data) OVERRIDE;
110 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; 114 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; 162 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
159 163
160 private: 164 private:
161 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 165 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
162 }; 166 };
163 167
164 } // namespace proxy 168 } // namespace proxy
165 } // namespace ppapi 169 } // namespace ppapi
166 170
167 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 171 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_image_data_proxy.cc ('k') | ppapi/proxy/resource_creation_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698