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

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

Issue 848863002: PPAPI: implement GetSupportedPreviewSizes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address WuCheng's comments in Patch Set 9/10 Created 5 years, 10 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
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 "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "ppapi/c/dev/pp_video_dev.h" 9 #include "ppapi/c/dev/pp_video_dev.h"
10 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 10 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 const PP_BrowserFont_Trusted_Description* description) = 0; 182 const PP_BrowserFont_Trusted_Description* description) = 0;
183 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0; 183 virtual PP_Resource CreateBuffer(PP_Instance instance, uint32_t size) = 0;
184 virtual PP_Resource CreateFlashDRM(PP_Instance instance) = 0; 184 virtual PP_Resource CreateFlashDRM(PP_Instance instance) = 0;
185 virtual PP_Resource CreateFlashFontFile( 185 virtual PP_Resource CreateFlashFontFile(
186 PP_Instance instance, 186 PP_Instance instance,
187 const PP_BrowserFont_Trusted_Description* description, 187 const PP_BrowserFont_Trusted_Description* description,
188 PP_PrivateFontCharset charset) = 0; 188 PP_PrivateFontCharset charset) = 0;
189 virtual PP_Resource CreateFlashMenu(PP_Instance instance, 189 virtual PP_Resource CreateFlashMenu(PP_Instance instance,
190 const PP_Flash_Menu* menu_data) = 0; 190 const PP_Flash_Menu* menu_data) = 0;
191 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0; 191 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) = 0;
192 virtual PP_Resource CreateImageCapturePrivate(PP_Instance instance) = 0;
192 virtual PP_Resource CreatePlatformVerificationPrivate( 193 virtual PP_Resource CreatePlatformVerificationPrivate(
193 PP_Instance instance) = 0; 194 PP_Instance instance) = 0;
194 virtual PP_Resource CreateScrollbar(PP_Instance instance, 195 virtual PP_Resource CreateScrollbar(PP_Instance instance,
195 PP_Bool vertical) = 0; 196 PP_Bool vertical) = 0;
196 virtual PP_Resource CreateTalk(PP_Instance instance) = 0; 197 virtual PP_Resource CreateTalk(PP_Instance instance) = 0;
197 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0; 198 virtual PP_Resource CreateVideoCapture(PP_Instance instance) = 0;
198 virtual PP_Resource CreateVideoDecoderDev( 199 virtual PP_Resource CreateVideoDecoderDev(
199 PP_Instance instance, 200 PP_Instance instance,
200 PP_Resource context3d_id, 201 PP_Resource context3d_id,
201 PP_VideoDecoder_Profile profile) = 0; 202 PP_VideoDecoder_Profile profile) = 0;
202 #endif // !defined(OS_NACL) 203 #endif // !defined(OS_NACL)
203 204
204 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 205 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
205 }; 206 };
206 207
207 } // namespace thunk 208 } // namespace thunk
208 } // namespace ppapi 209 } // namespace ppapi
209 210
210 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 211 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« ppapi/thunk/ppb_image_capture_api.h ('K') | « ppapi/thunk/ppb_image_capture_private_thunk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698