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

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

Issue 23647008: Revert 221284 "Pepper: Move FileRef to the "new" resource proxy." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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 | « trunk/src/ppapi/proxy/interface_list.cc ('k') | trunk/src/ppapi/proxy/ppapi_param_traits.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/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 IPC_STRUCT_TRAITS_MEMBER(type) 195 IPC_STRUCT_TRAITS_MEMBER(type)
196 IPC_STRUCT_TRAITS_MEMBER(name) 196 IPC_STRUCT_TRAITS_MEMBER(name)
197 IPC_STRUCT_TRAITS_MEMBER(id) 197 IPC_STRUCT_TRAITS_MEMBER(id)
198 IPC_STRUCT_TRAITS_END() 198 IPC_STRUCT_TRAITS_END()
199 199
200 IPC_STRUCT_TRAITS_BEGIN(ppapi::DirEntry) 200 IPC_STRUCT_TRAITS_BEGIN(ppapi::DirEntry)
201 IPC_STRUCT_TRAITS_MEMBER(name) 201 IPC_STRUCT_TRAITS_MEMBER(name)
202 IPC_STRUCT_TRAITS_MEMBER(is_dir) 202 IPC_STRUCT_TRAITS_MEMBER(is_dir)
203 IPC_STRUCT_TRAITS_END() 203 IPC_STRUCT_TRAITS_END()
204 204
205 IPC_STRUCT_TRAITS_BEGIN(ppapi::FileRefCreateInfo) 205 IPC_STRUCT_TRAITS_BEGIN(ppapi::FileRef_CreateInfo)
206 IPC_STRUCT_TRAITS_MEMBER(file_system_type) 206 IPC_STRUCT_TRAITS_MEMBER(file_system_type)
207 IPC_STRUCT_TRAITS_MEMBER(internal_path) 207 IPC_STRUCT_TRAITS_MEMBER(internal_path)
208 IPC_STRUCT_TRAITS_MEMBER(display_name) 208 IPC_STRUCT_TRAITS_MEMBER(display_name)
209 IPC_STRUCT_TRAITS_MEMBER(browser_pending_host_resource_id) 209 IPC_STRUCT_TRAITS_MEMBER(pending_host_resource_id)
210 IPC_STRUCT_TRAITS_MEMBER(renderer_pending_host_resource_id)
211 IPC_STRUCT_TRAITS_MEMBER(file_system_plugin_resource) 210 IPC_STRUCT_TRAITS_MEMBER(file_system_plugin_resource)
212 IPC_STRUCT_TRAITS_END() 211 IPC_STRUCT_TRAITS_END()
213 212
214 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting) 213 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting)
215 IPC_STRUCT_TRAITS_MEMBER(site) 214 IPC_STRUCT_TRAITS_MEMBER(site)
216 IPC_STRUCT_TRAITS_MEMBER(permission) 215 IPC_STRUCT_TRAITS_MEMBER(permission)
217 IPC_STRUCT_TRAITS_END() 216 IPC_STRUCT_TRAITS_END()
218 217
219 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) 218 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData)
220 IPC_STRUCT_TRAITS_MEMBER(rect) 219 IPC_STRUCT_TRAITS_MEMBER(rect)
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold) 291 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold)
293 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold) 292 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold)
294 IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent) 293 IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent)
295 IPC_STRUCT_TRAITS_MEMBER(custom_user_agent) 294 IPC_STRUCT_TRAITS_MEMBER(custom_user_agent)
296 IPC_STRUCT_TRAITS_MEMBER(body) 295 IPC_STRUCT_TRAITS_MEMBER(body)
297 IPC_STRUCT_TRAITS_END() 296 IPC_STRUCT_TRAITS_END()
298 297
299 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLRequestInfoData::BodyItem) 298 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLRequestInfoData::BodyItem)
300 IPC_STRUCT_TRAITS_MEMBER(is_file) 299 IPC_STRUCT_TRAITS_MEMBER(is_file)
301 IPC_STRUCT_TRAITS_MEMBER(data) 300 IPC_STRUCT_TRAITS_MEMBER(data)
302 IPC_STRUCT_TRAITS_MEMBER(file_ref_pp_resource) 301 // Note: we don't serialize file_ref.
302 IPC_STRUCT_TRAITS_MEMBER(file_ref_host_resource)
303 IPC_STRUCT_TRAITS_MEMBER(start_offset) 303 IPC_STRUCT_TRAITS_MEMBER(start_offset)
304 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes) 304 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes)
305 IPC_STRUCT_TRAITS_MEMBER(expected_last_modified_time) 305 IPC_STRUCT_TRAITS_MEMBER(expected_last_modified_time)
306 IPC_STRUCT_TRAITS_END() 306 IPC_STRUCT_TRAITS_END()
307 307
308 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLResponseInfoData) 308 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLResponseInfoData)
309 IPC_STRUCT_TRAITS_MEMBER(url) 309 IPC_STRUCT_TRAITS_MEMBER(url)
310 IPC_STRUCT_TRAITS_MEMBER(headers) 310 IPC_STRUCT_TRAITS_MEMBER(headers)
311 IPC_STRUCT_TRAITS_MEMBER(status_code) 311 IPC_STRUCT_TRAITS_MEMBER(status_code)
312 IPC_STRUCT_TRAITS_MEMBER(status_text) 312 IPC_STRUCT_TRAITS_MEMBER(status_text)
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 // result codes. 479 // result codes.
480 // 480 //
481 // The handler of this message should always close all of the handles passed 481 // The handler of this message should always close all of the handles passed
482 // in, since some could be valid even in the error case. 482 // in, since some could be valid even in the error case.
483 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBAudio_NotifyAudioStreamCreated, 483 IPC_MESSAGE_ROUTED4(PpapiMsg_PPBAudio_NotifyAudioStreamCreated,
484 ppapi::HostResource /* audio_id */, 484 ppapi::HostResource /* audio_id */,
485 int32_t /* result_code (will be != PP_OK on failure) */, 485 int32_t /* result_code (will be != PP_OK on failure) */,
486 ppapi::proxy::SerializedHandle /* socket_handle */, 486 ppapi::proxy::SerializedHandle /* socket_handle */,
487 ppapi::proxy::SerializedHandle /* handle */) 487 ppapi::proxy::SerializedHandle /* handle */)
488 488
489 // PPB_FileRef.
490 // TODO(teravest): Remove these messages when we've switched over to the "new"
491 // proxy.
492 IPC_MESSAGE_ROUTED3(
493 PpapiMsg_PPBFileRef_CallbackComplete,
494 ppapi::HostResource /* resource */,
495 uint32_t /* callback_id */,
496 int32_t /* result */)
497
498 IPC_MESSAGE_ROUTED4(
499 PpapiMsg_PPBFileRef_QueryCallbackComplete,
500 ppapi::HostResource /* resource */,
501 PP_FileInfo /* file_info */,
502 uint32_t /* callback_id */,
503 int32_t /* result */)
504
505 IPC_MESSAGE_ROUTED5(
506 PpapiMsg_PPBFileRef_ReadDirectoryEntriesCallbackComplete,
507 ppapi::HostResource /* resource */,
508 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */,
509 std::vector<PP_FileType> /* file_types */,
510 uint32_t /* callback_id */,
511 int32_t /* result */)
512
489 // PPB_FileSystem. 513 // PPB_FileSystem.
490 IPC_MESSAGE_ROUTED2( 514 IPC_MESSAGE_ROUTED2(
491 PpapiMsg_PPBFileSystem_OpenComplete, 515 PpapiMsg_PPBFileSystem_OpenComplete,
492 ppapi::HostResource /* filesystem */, 516 ppapi::HostResource /* filesystem */,
493 int32_t /* result */) 517 int32_t /* result */)
494 518
495 // PPB_Graphics3D. 519 // PPB_Graphics3D.
496 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, 520 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK,
497 ppapi::HostResource /* graphics_3d */, 521 ppapi::HostResource /* graphics_3d */,
498 int32_t /* pp_error */) 522 int32_t /* pp_error */)
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, 765 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop,
742 ppapi::HostResource /* audio_id */, 766 ppapi::HostResource /* audio_id */,
743 bool /* play */) 767 bool /* play */)
744 768
745 // PPB_Core. 769 // PPB_Core.
746 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, 770 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource,
747 ppapi::HostResource) 771 ppapi::HostResource)
748 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, 772 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource,
749 ppapi::HostResource) 773 ppapi::HostResource)
750 774
775 // PPB_FileRef.
776 // TODO(teravest): Remove these messages when we've switched over to the "new"
777 // proxy.
778 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBFileRef_Create,
779 PP_Instance /* instance */,
780 PP_Resource /* file_system */,
781 std::string /* path */,
782 ppapi::PPB_FileRef_CreateInfo /* result */)
783 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetParent,
784 ppapi::HostResource /* file_ref */,
785 ppapi::PPB_FileRef_CreateInfo /* result */)
786 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_MakeDirectory,
787 ppapi::HostResource /* file_ref */,
788 PP_Bool /* make_ancestors */,
789 uint32_t /* callback_id */)
790 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBFileRef_Touch,
791 ppapi::HostResource /* file_ref */,
792 PP_Time /* last_access */,
793 PP_Time /* last_modified */,
794 uint32_t /* callback_id */)
795 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Delete,
796 ppapi::HostResource /* file_ref */,
797 uint32_t /* callback_id */)
798 IPC_MESSAGE_ROUTED3(PpapiHostMsg_PPBFileRef_Rename,
799 ppapi::HostResource /* file_ref */,
800 ppapi::HostResource /* new_file_ref */,
801 uint32_t /* callback_id */)
802 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_Query,
803 ppapi::HostResource /* file_ref */,
804 uint32_t /* callback_id */)
805 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFileRef_GetAbsolutePath,
806 ppapi::HostResource /* file_ref */,
807 ppapi::proxy::SerializedVar /* result */)
808 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBFileRef_ReadDirectoryEntries,
809 ppapi::HostResource /* file_ref */,
810 uint32_t /* callback_id */)
811
751 // PPB_Graphics3D. 812 // PPB_Graphics3D.
752 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, 813 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create,
753 PP_Instance /* instance */, 814 PP_Instance /* instance */,
754 ppapi::HostResource /* share_context */, 815 ppapi::HostResource /* share_context */,
755 std::vector<int32_t> /* attrib_list */, 816 std::vector<int32_t> /* attrib_list */,
756 ppapi::HostResource /* result */) 817 ppapi::HostResource /* result */)
757 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, 818 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer,
758 ppapi::HostResource /* context */, 819 ppapi::HostResource /* context */,
759 int32 /* transfer_buffer_id */) 820 int32 /* transfer_buffer_id */)
760 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBGraphics3D_GetState, 821 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBGraphics3D_GetState,
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 // that of the previous ResourceCall. 1195 // that of the previous ResourceCall.
1135 IPC_MESSAGE_CONTROL2( 1196 IPC_MESSAGE_CONTROL2(
1136 PpapiPluginMsg_ResourceReply, 1197 PpapiPluginMsg_ResourceReply,
1137 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, 1198 ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
1138 IPC::Message /* nested_msg */) 1199 IPC::Message /* nested_msg */)
1139 IPC_MESSAGE_ROUTED2( 1200 IPC_MESSAGE_ROUTED2(
1140 PpapiHostMsg_InProcessResourceReply, 1201 PpapiHostMsg_InProcessResourceReply,
1141 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, 1202 ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
1142 IPC::Message /* nested_msg */) 1203 IPC::Message /* nested_msg */)
1143 1204
1205
1144 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall, 1206 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall,
1145 ppapi::proxy::ResourceMessageCallParams /* call_params */, 1207 ppapi::proxy::ResourceMessageCallParams /* call_params */,
1146 IPC::Message /* nested_msg */, 1208 IPC::Message /* nested_msg */,
1147 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, 1209 ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
1148 IPC::Message /* reply_msg */) 1210 IPC::Message /* reply_msg */)
1149 1211
1150 // This message is sent from the renderer to the browser when it wants to create 1212 // This message is sent from the renderer to the browser when it wants to create
1151 // ResourceHosts in the browser. It contains the process ID of the plugin and 1213 // ResourceHosts in the browser. It contains the process ID of the plugin and
1152 // the instance of the plugin for which to create the resource for. params 1214 // the instance of the plugin for which to create the resource for. params
1153 // contains the sequence number for the message to track the response. 1215 // contains the sequence number for the message to track the response.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
1207 std::string /* fsid */) 1269 std::string /* fsid */)
1208 1270
1209 // File chooser. 1271 // File chooser.
1210 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) 1272 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create)
1211 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, 1273 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show,
1212 bool /* save_as */, 1274 bool /* save_as */,
1213 bool /* open_multiple */, 1275 bool /* open_multiple */,
1214 std::string /* suggested_file_name */, 1276 std::string /* suggested_file_name */,
1215 std::vector<std::string> /* accept_mime_types */) 1277 std::vector<std::string> /* accept_mime_types */)
1216 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, 1278 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1217 std::vector<ppapi::FileRefCreateInfo> /* files */) 1279 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */)
1218 1280
1219 // FileIO 1281 // FileIO
1220 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create) 1282 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create)
1221 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open, 1283 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open,
1222 PP_Resource /* file_ref_resource */, 1284 PP_Resource /* file_ref_resource */,
1223 int32_t /* open_flags */) 1285 int32_t /* open_flags */)
1224 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply) 1286 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply)
1225 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close) 1287 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close)
1226 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch, 1288 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch,
1227 PP_Time /* last_access_time */, 1289 PP_Time /* last_access_time */,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1283 // Requests that the browser retrieve metadata information for a file or 1345 // Requests that the browser retrieve metadata information for a file or
1284 // directory at the location indicated by the FileRef. 1346 // directory at the location indicated by the FileRef.
1285 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_Query) 1347 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_Query)
1286 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_QueryReply, 1348 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_QueryReply,
1287 PP_FileInfo /* file_info */) 1349 PP_FileInfo /* file_info */)
1288 1350
1289 // Requests that the browser retrieve then entries in a directory at the 1351 // Requests that the browser retrieve then entries in a directory at the
1290 // location indicated by the FileRef. 1352 // location indicated by the FileRef.
1291 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_ReadDirectoryEntries) 1353 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_ReadDirectoryEntries)
1292 1354
1293 // FileRefCreateInfo does not provide file type information, so two 1355 // FileRef_CreateInfo does not provide file type information, so two
1294 // corresponding vectors are returned. 1356 // corresponding vectors are returned.
1295 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_FileRef_ReadDirectoryEntriesReply, 1357 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_FileRef_ReadDirectoryEntriesReply,
1296 std::vector<ppapi::FileRefCreateInfo> /* files */, 1358 std::vector<ppapi::FileRef_CreateInfo> /* files */,
1297 std::vector<PP_FileType> /* file_types */) 1359 std::vector<PP_FileType> /* file_types */)
1298 1360
1299 // Requests that the browser reply with the absolute path to the indicated 1361 // Requests that the browser reply with the absolute path to the indicated
1300 // file. 1362 // file.
1301 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_GetAbsolutePath) 1363 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_GetAbsolutePath)
1302 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_GetAbsolutePathReply, 1364 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_GetAbsolutePathReply,
1303 std::string /* absolute_path */) 1365 std::string /* absolute_path */)
1304 1366
1305 // FileSystem 1367 // FileSystem
1306 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_Create, 1368 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_Create,
(...skipping 20 matching lines...) Expand all
1327 // Reply message for GetHmonitor which contains the HMONITOR as an int64_t. 1389 // Reply message for GetHmonitor which contains the HMONITOR as an int64_t.
1328 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetHmonitorReply, 1390 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetHmonitorReply,
1329 int64_t /* hmonitor */) 1391 int64_t /* hmonitor */)
1330 1392
1331 // Requests the voucher file which is used to verify the integrity of the Flash 1393 // Requests the voucher file which is used to verify the integrity of the Flash
1332 // module. A PPB_FileRef resource will be created. 1394 // module. A PPB_FileRef resource will be created.
1333 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetVoucherFile) 1395 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetVoucherFile)
1334 // Reply message for GetVoucherFile which contains the CreateInfo for a 1396 // Reply message for GetVoucherFile which contains the CreateInfo for a
1335 // PPB_FileRef which points to the voucher file. 1397 // PPB_FileRef which points to the voucher file.
1336 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetVoucherFileReply, 1398 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetVoucherFileReply,
1337 ppapi::FileRefCreateInfo /* file_info */) 1399 ppapi::PPB_FileRef_CreateInfo /* file_info */)
1338 1400
1339 // Gamepad. 1401 // Gamepad.
1340 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create) 1402 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create)
1341 1403
1342 // Requests that the gamepad host send the shared memory handle to the plugin 1404 // Requests that the gamepad host send the shared memory handle to the plugin
1343 // process. 1405 // process.
1344 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory) 1406 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory)
1345 1407
1346 // Reply to a RequestMemory call. This supplies the shared memory handle. The 1408 // Reply to a RequestMemory call. This supplies the shared memory handle. The
1347 // actual handle is passed in the ReplyParams struct. 1409 // actual handle is passed in the ReplyParams struct.
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1706 // Requests that the browser reply with the list of font families via 1768 // Requests that the browser reply with the list of font families via
1707 // PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply. 1769 // PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply.
1708 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_GetFontFamilies) 1770 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_GetFontFamilies)
1709 1771
1710 // Reply to PpapiHostMsg_BrowserFontSingleton_GetFontFamilies with the font 1772 // Reply to PpapiHostMsg_BrowserFontSingleton_GetFontFamilies with the font
1711 // family list. The |families| result is encoded by separating each family name 1773 // family list. The |families| result is encoded by separating each family name
1712 // by a null character. 1774 // by a null character.
1713 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply, 1775 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply,
1714 std::string /* families */) 1776 std::string /* families */)
1715 1777
1778 // FileRef.
1779 // Requests that the browser reply with file system and path information about
1780 // the resource indicated in |params| which exists in the given
1781 // |child_process_id|. |routing_id| is sent so that the reply can be routed
1782 // properly in the renderer.
1783 // Only sent from the renderer to the browser.
1784 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileRef_GetInfoForRenderer,
1785 int /* routing_id */,
1786 int /* child_process_id */,
1787 int32_t /* sequence */,
1788 std::vector<PP_Resource> /* resources */)
1789
1790 // Reply to PpapiHostMsg_FileRef_GetInfoForRenderer with a sequence number for
1791 // invoking the right callback, |fs_type| which indicates the file system, and
1792 // path information in either |file_system_url_spec| (for internal file systems)
1793 // or |external_path| (for external file systems).
1794 // Only sent from the browser to the renderer.
1795 IPC_MESSAGE_ROUTED5(PpapiHostMsg_FileRef_GetInfoForRendererReply,
1796 int32_t /* sequence */,
1797 std::vector<PP_Resource> /* resources */,
1798 std::vector<PP_FileSystemType> /* fs_type */,
1799 std::vector<std::string> /* file_system_url_spec */,
1800 std::vector<base::FilePath> /* external_path */)
1801
1716 // Flash ----------------------------------------------------------------------- 1802 // Flash -----------------------------------------------------------------------
1717 1803
1718 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) 1804 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create)
1719 1805
1720 // Message to notify the browser to register an update in system activity. 1806 // Message to notify the browser to register an update in system activity.
1721 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) 1807 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity)
1722 1808
1723 // Query the browser for the proxy server to use for the given URL. 1809 // Query the browser for the proxy server to use for the given URL.
1724 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) 1810 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */)
1725 // Reply message for GetProxyForURL containing the proxy server. 1811 // Reply message for GetProxyForURL containing the proxy server.
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
1935 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2021 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
1936 PP_TalkPermission /* permission */) 2022 PP_TalkPermission /* permission */)
1937 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2023 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
1938 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2024 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
1939 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2025 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
1940 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2026 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
1941 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2027 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
1942 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2028 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
1943 2029
1944 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2030 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « trunk/src/ppapi/proxy/interface_list.cc ('k') | trunk/src/ppapi/proxy/ppapi_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698