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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/plugin_resource.cc ('k') | ppapi/proxy/ppapi_proxy_test.h » ('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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 19 matching lines...) Expand all
30 #include "ppapi/c/pp_rect.h" 30 #include "ppapi/c/pp_rect.h"
31 #include "ppapi/c/pp_resource.h" 31 #include "ppapi/c/pp_resource.h"
32 #include "ppapi/c/pp_size.h" 32 #include "ppapi/c/pp_size.h"
33 #include "ppapi/c/pp_time.h" 33 #include "ppapi/c/pp_time.h"
34 #include "ppapi/c/private/ppb_host_resolver_private.h" 34 #include "ppapi/c/private/ppb_host_resolver_private.h"
35 #include "ppapi/c/private/ppb_net_address_private.h" 35 #include "ppapi/c/private/ppb_net_address_private.h"
36 #include "ppapi/c/private/ppb_tcp_socket_private.h" 36 #include "ppapi/c/private/ppb_tcp_socket_private.h"
37 #include "ppapi/c/private/ppp_flash_browser_operations.h" 37 #include "ppapi/c/private/ppp_flash_browser_operations.h"
38 #include "ppapi/proxy/ppapi_param_traits.h" 38 #include "ppapi/proxy/ppapi_param_traits.h"
39 #include "ppapi/proxy/ppapi_proxy_export.h" 39 #include "ppapi/proxy/ppapi_proxy_export.h"
40 #include "ppapi/proxy/resource_message_params.h"
40 #include "ppapi/proxy/serialized_flash_menu.h" 41 #include "ppapi/proxy/serialized_flash_menu.h"
41 #include "ppapi/proxy/serialized_structs.h" 42 #include "ppapi/proxy/serialized_structs.h"
42 #include "ppapi/shared_impl/ppapi_preferences.h" 43 #include "ppapi/shared_impl/ppapi_preferences.h"
43 #include "ppapi/shared_impl/ppb_device_ref_shared.h" 44 #include "ppapi/shared_impl/ppb_device_ref_shared.h"
44 #include "ppapi/shared_impl/ppb_input_event_shared.h" 45 #include "ppapi/shared_impl/ppb_input_event_shared.h"
45 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" 46 #include "ppapi/shared_impl/ppb_network_list_private_shared.h"
46 #include "ppapi/shared_impl/ppb_url_request_info_shared.h" 47 #include "ppapi/shared_impl/ppb_url_request_info_shared.h"
47 #include "ppapi/shared_impl/ppb_view_shared.h" 48 #include "ppapi/shared_impl/ppb_view_shared.h"
48 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" 49 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h"
49 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" 50 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h"
(...skipping 1327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1377 1378
1378 // PPB_X509Certificate_Private 1379 // PPB_X509Certificate_Private
1379 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, 1380 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER,
1380 std::vector<char> /* der */, 1381 std::vector<char> /* der */,
1381 bool /* succeeded */, 1382 bool /* succeeded */,
1382 ppapi::PPB_X509Certificate_Fields /* result */) 1383 ppapi::PPB_X509Certificate_Fields /* result */)
1383 1384
1384 // PPB_Font. 1385 // PPB_Font.
1385 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, 1386 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
1386 std::string /* result */) 1387 std::string /* result */)
1388
1389 //-----------------------------------------------------------------------------
1390
1391 IPC_MESSAGE_CONTROL3(PpapiHostMsg_ResourceCreated,
1392 ppapi::proxy::ResourceMessageCallParams /* call_params */,
1393 PP_Instance /* instance */,
1394 IPC::Message /* nested_msg */)
1395 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ResourceDestroyed,
1396 PP_Resource /* resource */)
1397
1398 IPC_MESSAGE_CONTROL2(PpapiHostMsg_ResourceCall,
1399 ppapi::proxy::ResourceMessageCallParams /* call_params */,
1400 IPC::Message /* nested_msg */)
1401
1402 IPC_MESSAGE_CONTROL2(
1403 PpapiPluginMsg_ResourceReply,
1404 ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
1405 IPC::Message /* nested_msg */)
1406
1407 //-----------------------------------------------------------------------------
1408
1409 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create)
1410 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show,
1411 bool /* save_as */,
1412 bool /* open_multiple */,
1413 std::string /* suggested_file_name */,
1414 std::vector<std::string> /* accept_mime_types */)
1415 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1416 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */)
1417
1387 #endif // !defined(OS_NACL) 1418 #endif // !defined(OS_NACL)
OLDNEW
« 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