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

Unified Diff: ppapi/proxy/ppapi_messages_internal.h

Issue 6519057: Implement proxying for FileRef and FileChooser.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix ppapi tests to account for query change Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/plugin_resource.h ('k') | ppapi/proxy/ppapi_param_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppapi_messages_internal.h
===================================================================
--- ppapi/proxy/ppapi_messages_internal.h (revision 75293)
+++ ppapi/proxy/ppapi_messages_internal.h (working copy)
@@ -46,6 +46,13 @@
base::SharedMemoryHandle /* handle */,
int32_t /* length */)
+// PPB_FileChooser.
+IPC_MESSAGE_ROUTED3(
+ PpapiMsg_PPBFileChooser_ChooseComplete,
+ pp::proxy::HostResource /* chooser */,
+ int32_t /* result_code (will be != PP_OK on failure */,
+ std::vector<pp::proxy::PPBFileRef_CreateInfo> /* chosen_files */)
+
// PPB_Graphics2D.
IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK,
pp::proxy::HostResource /* graphics_2d */,
@@ -276,6 +283,41 @@
PP_Instance /* instance */,
PP_Bool /* result */)
+// PPB_FileChooser.
+IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFileChooser_Create,
+ PP_Instance /* instance */,
+ int /* mode */,
+ std::string /* accept_mime_types */,
+ pp::proxy::HostResource /* result */)
+IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBFileChooser_Show,
+ pp::proxy::HostResource /* file_chooser */)
+
+
+// PPB_FileRef.
+IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFileRef_Create,
+ pp::proxy::HostResource /* file_system */,
+ std::string /* path */,
+ pp::proxy::PPBFileRef_CreateInfo /* result */)
+IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent,
+ pp::proxy::HostResource /* file_ref */,
+ pp::proxy::PPBFileRef_CreateInfo /* result */)
+IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory,
+ pp::proxy::HostResource /* file_ref */,
+ PP_Bool /* make_ancestors */,
+ uint32_t /* serialized_callback */);
+IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileRef_Touch,
+ pp::proxy::HostResource /* file_ref */,
+ PP_Time /* last_access */,
+ PP_Time /* last_modified */,
+ uint32_t /* serialized_callback */);
+IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Delete,
+ pp::proxy::HostResource /* file_ref */,
+ uint32_t /* serialized_callback */);
+IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_Rename,
+ pp::proxy::HostResource /* file_ref */,
+ pp::proxy::HostResource /* new_file_ref */,
+ uint32_t /* serialized_callback */);
+
// PPB_Flash.
IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFlash_SetInstanceAlwaysOnTop,
PP_Instance /* instance */,
« no previous file with comments | « ppapi/proxy/plugin_resource.h ('k') | ppapi/proxy/ppapi_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698