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

Side by Side Diff: ppapi/proxy/ppapi_messages.h

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/examples/file_chooser/file_chooser.cc ('k') | ppapi/proxy/ppb_file_chooser_proxy.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 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create, 1033 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBBuffer_Create,
1034 PP_Instance /* instance */, 1034 PP_Instance /* instance */,
1035 uint32_t /* size */, 1035 uint32_t /* size */,
1036 ppapi::HostResource /* result_resource */, 1036 ppapi::HostResource /* result_resource */,
1037 base::SharedMemoryHandle /* result_shm_handle */) 1037 base::SharedMemoryHandle /* result_shm_handle */)
1038 1038
1039 // PPB_FileChooser. 1039 // PPB_FileChooser.
1040 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFileChooser_Create, 1040 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFileChooser_Create,
1041 PP_Instance /* instance */, 1041 PP_Instance /* instance */,
1042 int /* mode */, 1042 int /* mode */,
1043 std::string /* accept_mime_types */, 1043 std::string /* accept_types */,
1044 ppapi::HostResource /* result */) 1044 ppapi::HostResource /* result */)
1045 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileChooser_Show, 1045 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileChooser_Show,
1046 ppapi::HostResource /* file_chooser */, 1046 ppapi::HostResource /* file_chooser */,
1047 PP_Bool /* save_as */, 1047 PP_Bool /* save_as */,
1048 ppapi::proxy::SerializedVar /* suggested_file_name */, 1048 ppapi::proxy::SerializedVar /* suggested_file_name */,
1049 bool /* require_user_gesture */) 1049 bool /* require_user_gesture */)
1050 1050
1051 // PPB_NetworkMonitor_Private. 1051 // PPB_NetworkMonitor_Private.
1052 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Start, 1052 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PPBNetworkMonitor_Start,
1053 uint32 /* plugin_dispatcher_id */) 1053 uint32 /* plugin_dispatcher_id */)
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
1338 // PPB_X509Certificate_Private 1338 // PPB_X509Certificate_Private
1339 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, 1339 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER,
1340 std::vector<char> /* der */, 1340 std::vector<char> /* der */,
1341 bool /* succeeded */, 1341 bool /* succeeded */,
1342 ppapi::PPB_X509Certificate_Fields /* result */) 1342 ppapi::PPB_X509Certificate_Fields /* result */)
1343 1343
1344 // PPB_Font. 1344 // PPB_Font.
1345 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, 1345 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
1346 std::string /* result */) 1346 std::string /* result */)
1347 #endif // !defined(OS_NACL) 1347 #endif // !defined(OS_NACL)
OLDNEW
« no previous file with comments | « ppapi/examples/file_chooser/file_chooser.cc ('k') | ppapi/proxy/ppb_file_chooser_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698