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

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

Issue 21966004: Pepper: Move FileRef to the "new" resource proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor fixes for dmichael 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
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::FileRef_CreateInfo) 205 IPC_STRUCT_TRAITS_BEGIN(ppapi::FileRefCreateInfo)
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(pending_host_resource_id) 209 IPC_STRUCT_TRAITS_MEMBER(browser_pending_host_resource_id)
210 IPC_STRUCT_TRAITS_MEMBER(renderer_pending_host_resource_id)
210 IPC_STRUCT_TRAITS_MEMBER(file_system_plugin_resource) 211 IPC_STRUCT_TRAITS_MEMBER(file_system_plugin_resource)
211 IPC_STRUCT_TRAITS_END() 212 IPC_STRUCT_TRAITS_END()
212 213
213 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting) 214 IPC_STRUCT_TRAITS_BEGIN(ppapi::FlashSiteSetting)
214 IPC_STRUCT_TRAITS_MEMBER(site) 215 IPC_STRUCT_TRAITS_MEMBER(site)
215 IPC_STRUCT_TRAITS_MEMBER(permission) 216 IPC_STRUCT_TRAITS_MEMBER(permission)
216 IPC_STRUCT_TRAITS_END() 217 IPC_STRUCT_TRAITS_END()
217 218
218 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) 219 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData)
219 IPC_STRUCT_TRAITS_MEMBER(rect) 220 IPC_STRUCT_TRAITS_MEMBER(rect)
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold) 292 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold)
292 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold) 293 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold)
293 IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent) 294 IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent)
294 IPC_STRUCT_TRAITS_MEMBER(custom_user_agent) 295 IPC_STRUCT_TRAITS_MEMBER(custom_user_agent)
295 IPC_STRUCT_TRAITS_MEMBER(body) 296 IPC_STRUCT_TRAITS_MEMBER(body)
296 IPC_STRUCT_TRAITS_END() 297 IPC_STRUCT_TRAITS_END()
297 298
298 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLRequestInfoData::BodyItem) 299 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLRequestInfoData::BodyItem)
299 IPC_STRUCT_TRAITS_MEMBER(is_file) 300 IPC_STRUCT_TRAITS_MEMBER(is_file)
300 IPC_STRUCT_TRAITS_MEMBER(data) 301 IPC_STRUCT_TRAITS_MEMBER(data)
301 // Note: we don't serialize file_ref. 302 IPC_STRUCT_TRAITS_MEMBER(file_ref_pp_resource)
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
513 // PPB_FileSystem. 489 // PPB_FileSystem.
514 IPC_MESSAGE_ROUTED2( 490 IPC_MESSAGE_ROUTED2(
515 PpapiMsg_PPBFileSystem_OpenComplete, 491 PpapiMsg_PPBFileSystem_OpenComplete,
516 ppapi::HostResource /* filesystem */, 492 ppapi::HostResource /* filesystem */,
517 int32_t /* result */) 493 int32_t /* result */)
518 494
519 // PPB_Graphics3D. 495 // PPB_Graphics3D.
520 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK, 496 IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics3D_SwapBuffersACK,
521 ppapi::HostResource /* graphics_3d */, 497 ppapi::HostResource /* graphics_3d */,
522 int32_t /* pp_error */) 498 int32_t /* pp_error */)
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, 741 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop,
766 ppapi::HostResource /* audio_id */, 742 ppapi::HostResource /* audio_id */,
767 bool /* play */) 743 bool /* play */)
768 744
769 // PPB_Core. 745 // PPB_Core.
770 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, 746 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource,
771 ppapi::HostResource) 747 ppapi::HostResource)
772 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, 748 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource,
773 ppapi::HostResource) 749 ppapi::HostResource)
774 750
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
812 // PPB_Graphics3D. 751 // PPB_Graphics3D.
813 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create, 752 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics3D_Create,
814 PP_Instance /* instance */, 753 PP_Instance /* instance */,
815 ppapi::HostResource /* share_context */, 754 ppapi::HostResource /* share_context */,
816 std::vector<int32_t> /* attrib_list */, 755 std::vector<int32_t> /* attrib_list */,
817 ppapi::HostResource /* result */) 756 ppapi::HostResource /* result */)
818 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer, 757 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBGraphics3D_SetGetBuffer,
819 ppapi::HostResource /* context */, 758 ppapi::HostResource /* context */,
820 int32 /* transfer_buffer_id */) 759 int32 /* transfer_buffer_id */)
821 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBGraphics3D_GetState, 760 IPC_SYNC_MESSAGE_ROUTED1_2(PpapiHostMsg_PPBGraphics3D_GetState,
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 // that of the previous ResourceCall. 1134 // that of the previous ResourceCall.
1196 IPC_MESSAGE_CONTROL2( 1135 IPC_MESSAGE_CONTROL2(
1197 PpapiPluginMsg_ResourceReply, 1136 PpapiPluginMsg_ResourceReply,
1198 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, 1137 ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
1199 IPC::Message /* nested_msg */) 1138 IPC::Message /* nested_msg */)
1200 IPC_MESSAGE_ROUTED2( 1139 IPC_MESSAGE_ROUTED2(
1201 PpapiHostMsg_InProcessResourceReply, 1140 PpapiHostMsg_InProcessResourceReply,
1202 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, 1141 ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
1203 IPC::Message /* nested_msg */) 1142 IPC::Message /* nested_msg */)
1204 1143
1205
1206 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall, 1144 IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall,
1207 ppapi::proxy::ResourceMessageCallParams /* call_params */, 1145 ppapi::proxy::ResourceMessageCallParams /* call_params */,
1208 IPC::Message /* nested_msg */, 1146 IPC::Message /* nested_msg */,
1209 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, 1147 ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
1210 IPC::Message /* reply_msg */) 1148 IPC::Message /* reply_msg */)
1211 1149
1212 // This message is sent from the renderer to the browser when it wants to create 1150 // This message is sent from the renderer to the browser when it wants to create
1213 // ResourceHosts in the browser. It contains the process ID of the plugin and 1151 // ResourceHosts in the browser. It contains the process ID of the plugin and
1214 // the instance of the plugin for which to create the resource for. params 1152 // the instance of the plugin for which to create the resource for. params
1215 // contains the sequence number for the message to track the response. 1153 // contains the sequence number for the message to track the response.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
1269 std::string /* fsid */) 1207 std::string /* fsid */)
1270 1208
1271 // File chooser. 1209 // File chooser.
1272 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create) 1210 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileChooser_Create)
1273 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show, 1211 IPC_MESSAGE_CONTROL4(PpapiHostMsg_FileChooser_Show,
1274 bool /* save_as */, 1212 bool /* save_as */,
1275 bool /* open_multiple */, 1213 bool /* open_multiple */,
1276 std::string /* suggested_file_name */, 1214 std::string /* suggested_file_name */,
1277 std::vector<std::string> /* accept_mime_types */) 1215 std::vector<std::string> /* accept_mime_types */)
1278 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply, 1216 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileChooser_ShowReply,
1279 std::vector<ppapi::PPB_FileRef_CreateInfo> /* files */) 1217 std::vector<ppapi::FileRefCreateInfo> /* files */)
1280 1218
1281 // FileIO 1219 // FileIO
1282 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create) 1220 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Create)
1283 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open, 1221 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Open,
1284 PP_Resource /* file_ref_resource */, 1222 PP_Resource /* file_ref_resource */,
1285 int32_t /* open_flags */) 1223 int32_t /* open_flags */)
1286 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply) 1224 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_FileIO_OpenReply)
1287 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close) 1225 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileIO_Close)
1288 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch, 1226 IPC_MESSAGE_CONTROL2(PpapiHostMsg_FileIO_Touch,
1289 PP_Time /* last_access_time */, 1227 PP_Time /* last_access_time */,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1345 // Requests that the browser retrieve metadata information for a file or 1283 // Requests that the browser retrieve metadata information for a file or
1346 // directory at the location indicated by the FileRef. 1284 // directory at the location indicated by the FileRef.
1347 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_Query) 1285 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_Query)
1348 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_QueryReply, 1286 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_QueryReply,
1349 PP_FileInfo /* file_info */) 1287 PP_FileInfo /* file_info */)
1350 1288
1351 // Requests that the browser retrieve then entries in a directory at the 1289 // Requests that the browser retrieve then entries in a directory at the
1352 // location indicated by the FileRef. 1290 // location indicated by the FileRef.
1353 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_ReadDirectoryEntries) 1291 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_ReadDirectoryEntries)
1354 1292
1355 // FileRef_CreateInfo does not provide file type information, so two 1293 // FileRefCreateInfo does not provide file type information, so two
1356 // corresponding vectors are returned. 1294 // corresponding vectors are returned.
1357 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_FileRef_ReadDirectoryEntriesReply, 1295 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_FileRef_ReadDirectoryEntriesReply,
1358 std::vector<ppapi::FileRef_CreateInfo> /* files */, 1296 std::vector<ppapi::FileRefCreateInfo> /* files */,
1359 std::vector<PP_FileType> /* file_types */) 1297 std::vector<PP_FileType> /* file_types */)
1360 1298
1361 // Requests that the browser reply with the absolute path to the indicated 1299 // Requests that the browser reply with the absolute path to the indicated
1362 // file. 1300 // file.
1363 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_GetAbsolutePath) 1301 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FileRef_GetAbsolutePath)
1364 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_GetAbsolutePathReply, 1302 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FileRef_GetAbsolutePathReply,
1365 std::string /* absolute_path */) 1303 std::string /* absolute_path */)
1366 1304
1367 // FileSystem 1305 // FileSystem
1368 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_Create, 1306 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FileSystem_Create,
(...skipping 20 matching lines...) Expand all
1389 // Reply message for GetHmonitor which contains the HMONITOR as an int64_t. 1327 // Reply message for GetHmonitor which contains the HMONITOR as an int64_t.
1390 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetHmonitorReply, 1328 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetHmonitorReply,
1391 int64_t /* hmonitor */) 1329 int64_t /* hmonitor */)
1392 1330
1393 // Requests the voucher file which is used to verify the integrity of the Flash 1331 // Requests the voucher file which is used to verify the integrity of the Flash
1394 // module. A PPB_FileRef resource will be created. 1332 // module. A PPB_FileRef resource will be created.
1395 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetVoucherFile) 1333 IPC_MESSAGE_CONTROL0(PpapiHostMsg_FlashDRM_GetVoucherFile)
1396 // Reply message for GetVoucherFile which contains the CreateInfo for a 1334 // Reply message for GetVoucherFile which contains the CreateInfo for a
1397 // PPB_FileRef which points to the voucher file. 1335 // PPB_FileRef which points to the voucher file.
1398 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetVoucherFileReply, 1336 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_FlashDRM_GetVoucherFileReply,
1399 ppapi::PPB_FileRef_CreateInfo /* file_info */) 1337 ppapi::FileRefCreateInfo /* file_info */)
1400 1338
1401 // Gamepad. 1339 // Gamepad.
1402 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create) 1340 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_Create)
1403 1341
1404 // Requests that the gamepad host send the shared memory handle to the plugin 1342 // Requests that the gamepad host send the shared memory handle to the plugin
1405 // process. 1343 // process.
1406 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory) 1344 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Gamepad_RequestMemory)
1407 1345
1408 // Reply to a RequestMemory call. This supplies the shared memory handle. The 1346 // Reply to a RequestMemory call. This supplies the shared memory handle. The
1409 // actual handle is passed in the ReplyParams struct. 1347 // actual handle is passed in the ReplyParams struct.
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1768 // Requests that the browser reply with the list of font families via 1706 // Requests that the browser reply with the list of font families via
1769 // PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply. 1707 // PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply.
1770 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_GetFontFamilies) 1708 IPC_MESSAGE_CONTROL0(PpapiHostMsg_BrowserFontSingleton_GetFontFamilies)
1771 1709
1772 // Reply to PpapiHostMsg_BrowserFontSingleton_GetFontFamilies with the font 1710 // Reply to PpapiHostMsg_BrowserFontSingleton_GetFontFamilies with the font
1773 // family list. The |families| result is encoded by separating each family name 1711 // family list. The |families| result is encoded by separating each family name
1774 // by a null character. 1712 // by a null character.
1775 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply, 1713 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_BrowserFontSingleton_GetFontFamiliesReply,
1776 std::string /* families */) 1714 std::string /* families */)
1777 1715
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
1802 // Flash ----------------------------------------------------------------------- 1716 // Flash -----------------------------------------------------------------------
1803 1717
1804 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create) 1718 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_Create)
1805 1719
1806 // Message to notify the browser to register an update in system activity. 1720 // Message to notify the browser to register an update in system activity.
1807 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity) 1721 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Flash_UpdateActivity)
1808 1722
1809 // Query the browser for the proxy server to use for the given URL. 1723 // Query the browser for the proxy server to use for the given URL.
1810 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */) 1724 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Flash_GetProxyForURL, std::string /* url */)
1811 // Reply message for GetProxyForURL containing the proxy server. 1725 // Reply message for GetProxyForURL containing the proxy server.
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
2021 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 1935 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2022 PP_TalkPermission /* permission */) 1936 PP_TalkPermission /* permission */)
2023 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 1937 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2024 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 1938 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2025 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 1939 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2026 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 1940 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2027 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 1941 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2028 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 1942 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2029 1943
2030 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1944 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698