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

Unified Diff: ppapi/proxy/ppapi_messages.h

Issue 10544089: Implement the file chooser as a new resource "host" (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/plugin_resource.cc ('k') | ppapi/proxy/ppapi_proxy_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppapi_messages.h
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
index cd54ae96c3f12e95a911dd7ecc6c7082b59db0cc..1977de709903c7779da7d9d2a6600ad1d5eaaef5 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -37,6 +37,7 @@
#include "ppapi/c/private/ppp_flash_browser_operations.h"
#include "ppapi/proxy/ppapi_param_traits.h"
#include "ppapi/proxy/ppapi_proxy_export.h"
+#include "ppapi/proxy/resource_message_params.h"
#include "ppapi/proxy/serialized_flash_menu.h"
#include "ppapi/proxy/serialized_structs.h"
#include "ppapi/shared_impl/ppapi_preferences.h"
@@ -1384,4 +1385,34 @@ IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER,
// PPB_Font.
IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
std::string /* result */)
+
+//-----------------------------------------------------------------------------
+
+IPC_MESSAGE_CONTROL3(PpapiHostMsg_ResourceCreated,
+ ppapi::proxy::ResourceMessageCallParams /* call_params */,
+ PP_Instance /* instance */,
+ IPC::Message /* nested_msg */)
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_ResourceDestroyed,
+ PP_Resource /* resource */)
+
+IPC_MESSAGE_CONTROL2(PpapiHostMsg_ResourceCall,
+ ppapi::proxy::ResourceMessageCallParams /* call_params */,
+ IPC::Message /* nested_msg */)
+
+IPC_MESSAGE_CONTROL2(
+ PpapiPluginMsg_ResourceReply,
+ ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
+ IPC::Message /* nested_msg */)
+
+//-----------------------------------------------------------------------------
+
+IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create)
+IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show,
+ bool /* save_as */,
+ bool /* open_multiple */,
+ std::string /* suggested_file_name */,
+ std::vector<std::string> /* accept_mime_types */)
+IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
+ std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */)
+
#endif // !defined(OS_NACL)
« no previous file with comments | « ppapi/proxy/plugin_resource.cc ('k') | ppapi/proxy/ppapi_proxy_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698