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

Side by Side Diff: ppapi/proxy/resource_creation_proxy.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_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 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 virtual PP_Resource CreateBuffer(PP_Instance instance, 169 virtual PP_Resource CreateBuffer(PP_Instance instance,
170 uint32_t size) override; 170 uint32_t size) override;
171 virtual PP_Resource CreateFlashDRM(PP_Instance instance) override; 171 virtual PP_Resource CreateFlashDRM(PP_Instance instance) override;
172 virtual PP_Resource CreateFlashFontFile( 172 virtual PP_Resource CreateFlashFontFile(
173 PP_Instance instance, 173 PP_Instance instance,
174 const PP_BrowserFont_Trusted_Description* description, 174 const PP_BrowserFont_Trusted_Description* description,
175 PP_PrivateFontCharset charset) override; 175 PP_PrivateFontCharset charset) override;
176 virtual PP_Resource CreateFlashMenu(PP_Instance instance, 176 virtual PP_Resource CreateFlashMenu(PP_Instance instance,
177 const PP_Flash_Menu* menu_data) override; 177 const PP_Flash_Menu* menu_data) override;
178 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) override; 178 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) override;
179 virtual PP_Resource CreateImageCapturePrivate(PP_Instance instance) override;
dmichael (off chromium) 2015/02/03 19:21:29 ditto; don't need this
Justin Chuang 2015/02/04 17:44:24 I think it's used in ppb_image_capture_private_thu
179 virtual PP_Resource CreatePlatformVerificationPrivate( 180 virtual PP_Resource CreatePlatformVerificationPrivate(
180 PP_Instance instance) override; 181 PP_Instance instance) override;
181 virtual PP_Resource CreateScrollbar(PP_Instance instance, 182 virtual PP_Resource CreateScrollbar(PP_Instance instance,
182 PP_Bool vertical) override; 183 PP_Bool vertical) override;
183 virtual PP_Resource CreateTalk(PP_Instance instance) override; 184 virtual PP_Resource CreateTalk(PP_Instance instance) override;
184 virtual PP_Resource CreateVideoCapture(PP_Instance instance) override; 185 virtual PP_Resource CreateVideoCapture(PP_Instance instance) override;
185 virtual PP_Resource CreateVideoDecoderDev( 186 virtual PP_Resource CreateVideoDecoderDev(
186 PP_Instance instance, 187 PP_Instance instance,
187 PP_Resource context3d_id, 188 PP_Resource context3d_id,
188 PP_VideoDecoder_Profile profile) override; 189 PP_VideoDecoder_Profile profile) override;
189 #endif // !defined(OS_NACL) 190 #endif // !defined(OS_NACL)
190 191
191 virtual bool Send(IPC::Message* msg) override; 192 virtual bool Send(IPC::Message* msg) override;
192 virtual bool OnMessageReceived(const IPC::Message& msg) override; 193 virtual bool OnMessageReceived(const IPC::Message& msg) override;
193 194
194 private: 195 private:
195 Connection GetConnection(); 196 Connection GetConnection();
196 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); 197 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy);
197 }; 198 };
198 199
199 } // namespace proxy 200 } // namespace proxy
200 } // namespace ppapi 201 } // namespace ppapi
201 202
202 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ 203 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698