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

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

Issue 10414085: Modified the pepper file chooser API to support filtering files by extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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.h ('k') | ppapi/thunk/ppb_file_chooser_thunk.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 #include "ppapi/proxy/resource_creation_proxy.h" 5 #include "ppapi/proxy/resource_creation_proxy.h"
6 6
7 #include "ppapi/c/pp_errors.h" 7 #include "ppapi/c/pp_errors.h"
8 #include "ppapi/c/pp_size.h" 8 #include "ppapi/c/pp_size.h"
9 #include "ppapi/c/trusted/ppb_image_data_trusted.h" 9 #include "ppapi/c/trusted/ppb_image_data_trusted.h"
10 #include "ppapi/proxy/plugin_dispatcher.h" 10 #include "ppapi/proxy/plugin_dispatcher.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 216
217 PP_Resource ResourceCreationProxy::CreateDirectoryReader( 217 PP_Resource ResourceCreationProxy::CreateDirectoryReader(
218 PP_Resource directory_ref) { 218 PP_Resource directory_ref) {
219 NOTIMPLEMENTED(); // Not proxied yet. 219 NOTIMPLEMENTED(); // Not proxied yet.
220 return 0; 220 return 0;
221 } 221 }
222 222
223 PP_Resource ResourceCreationProxy::CreateFileChooser( 223 PP_Resource ResourceCreationProxy::CreateFileChooser(
224 PP_Instance instance, 224 PP_Instance instance,
225 PP_FileChooserMode_Dev mode, 225 PP_FileChooserMode_Dev mode,
226 const char* accept_mime_types) { 226 const char* accept_types) {
227 return PPB_FileChooser_Proxy::CreateProxyResource(instance, mode, 227 return PPB_FileChooser_Proxy::CreateProxyResource(instance, mode,
228 accept_mime_types); 228 accept_types);
229 } 229 }
230 230
231 PP_Resource ResourceCreationProxy::CreateFlashMenu( 231 PP_Resource ResourceCreationProxy::CreateFlashMenu(
232 PP_Instance instance, 232 PP_Instance instance,
233 const PP_Flash_Menu* menu_data) { 233 const PP_Flash_Menu* menu_data) {
234 return PPB_Flash_Menu_Proxy::CreateProxyResource(instance, menu_data); 234 return PPB_Flash_Menu_Proxy::CreateProxyResource(instance, menu_data);
235 } 235 }
236 236
237 PP_Resource ResourceCreationProxy::CreateFlashMessageLoop( 237 PP_Resource ResourceCreationProxy::CreateFlashMessageLoop(
238 PP_Instance instance) { 238 PP_Instance instance) {
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 bool ResourceCreationProxy::Send(IPC::Message* msg) { 342 bool ResourceCreationProxy::Send(IPC::Message* msg) {
343 return dispatcher()->Send(msg); 343 return dispatcher()->Send(msg);
344 } 344 }
345 345
346 bool ResourceCreationProxy::OnMessageReceived(const IPC::Message& msg) { 346 bool ResourceCreationProxy::OnMessageReceived(const IPC::Message& msg) {
347 return false; 347 return false;
348 } 348 }
349 349
350 } // namespace proxy 350 } // namespace proxy
351 } // namespace ppapi 351 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/resource_creation_proxy.h ('k') | ppapi/thunk/ppb_file_chooser_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698