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

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

Issue 730603002: PPAPI: Refactor renderer side of browser host creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 6 years, 1 month 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
« no previous file with comments | « content/renderer/pepper/url_response_info_util.cc ('k') | ppapi/proxy/serialized_structs.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 <map> 6 #include <map>
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 // The list of switches can be found in: 422 // The list of switches can be found in:
423 // components/nacl/browser/nacl_process_host.cc 423 // components/nacl/browser/nacl_process_host.cc
424 IPC_STRUCT_TRAITS_BEGIN(ppapi::PpapiNaClPluginArgs) 424 IPC_STRUCT_TRAITS_BEGIN(ppapi::PpapiNaClPluginArgs)
425 IPC_STRUCT_TRAITS_MEMBER(off_the_record) 425 IPC_STRUCT_TRAITS_MEMBER(off_the_record)
426 IPC_STRUCT_TRAITS_MEMBER(permissions) 426 IPC_STRUCT_TRAITS_MEMBER(permissions)
427 IPC_STRUCT_TRAITS_MEMBER(keepalive_throttle_interval_milliseconds) 427 IPC_STRUCT_TRAITS_MEMBER(keepalive_throttle_interval_milliseconds)
428 IPC_STRUCT_TRAITS_MEMBER(switch_names) 428 IPC_STRUCT_TRAITS_MEMBER(switch_names)
429 IPC_STRUCT_TRAITS_MEMBER(switch_values) 429 IPC_STRUCT_TRAITS_MEMBER(switch_values)
430 IPC_STRUCT_TRAITS_END() 430 IPC_STRUCT_TRAITS_END()
431 431
432 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::CompletedBrowserResourceHosts)
433 IPC_STRUCT_TRAITS_MEMBER(sequence_number)
434 IPC_STRUCT_TRAITS_MEMBER(host_ids)
435 IPC_STRUCT_TRAITS_END()
436
432 #if !defined(OS_NACL) && !defined(NACL_WIN64) 437 #if !defined(OS_NACL) && !defined(NACL_WIN64)
433 438
434 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPDecryptor_Buffer) 439 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPDecryptor_Buffer)
435 IPC_STRUCT_TRAITS_MEMBER(resource) 440 IPC_STRUCT_TRAITS_MEMBER(resource)
436 IPC_STRUCT_TRAITS_MEMBER(handle) 441 IPC_STRUCT_TRAITS_MEMBER(handle)
437 IPC_STRUCT_TRAITS_MEMBER(size) 442 IPC_STRUCT_TRAITS_MEMBER(size)
438 IPC_STRUCT_TRAITS_END() 443 IPC_STRUCT_TRAITS_END()
439 444
440 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 445 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
441 446
(...skipping 883 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 int /* child_process_id */, 1330 int /* child_process_id */,
1326 ppapi::proxy::ResourceMessageCallParams /* params */, 1331 ppapi::proxy::ResourceMessageCallParams /* params */,
1327 PP_Instance /* instance */, 1332 PP_Instance /* instance */,
1328 std::vector<IPC::Message> /* nested_msgs */) 1333 std::vector<IPC::Message> /* nested_msgs */)
1329 1334
1330 // This message is sent from the browser to the renderer when it has created 1335 // This message is sent from the browser to the renderer when it has created
1331 // ResourceHosts for the renderer. It contains the sequence number that was sent 1336 // ResourceHosts for the renderer. It contains the sequence number that was sent
1332 // in the request and the IDs of the pending ResourceHosts which were created in 1337 // in the request and the IDs of the pending ResourceHosts which were created in
1333 // the browser. These IDs are only useful for the plugin which can attach to the 1338 // the browser. These IDs are only useful for the plugin which can attach to the
1334 // ResourceHosts in the browser. 1339 // ResourceHosts in the browser.
1335 IPC_MESSAGE_ROUTED2( 1340 IPC_MESSAGE_ROUTED1(
1336 PpapiHostMsg_CreateResourceHostsFromHostReply, 1341 PpapiHostMsg_CreateResourceHostsFromHostReply,
1337 int32_t /* sequence */, 1342 ppapi::proxy::CompletedBrowserResourceHosts /* completed_hosts */)
1338 std::vector<int> /* pending_host_ids */)
1339 1343
1340 //----------------------------------------------------------------------------- 1344 //-----------------------------------------------------------------------------
1341 // Messages for resources using call/reply above. 1345 // Messages for resources using call/reply above.
1342 1346
1343 // Broker ---------------------------------------------------------------------- 1347 // Broker ----------------------------------------------------------------------
1344 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_Create) 1348 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Broker_Create)
1345 1349
1346 // Queries whether the plugin has permission to connect to the Pepper broker. 1350 // Queries whether the plugin has permission to connect to the Pepper broker.
1347 // The response is contained in the error value of the 1351 // The response is contained in the error value of the
1348 // ResourceMessageReplyParams in the reply message. 1352 // ResourceMessageReplyParams in the reply message.
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after
2270 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2274 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2271 PP_TalkPermission /* permission */) 2275 PP_TalkPermission /* permission */)
2272 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2276 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2273 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2277 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2274 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2278 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2275 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2279 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2276 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2280 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2277 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2281 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2278 2282
2279 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2283 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « content/renderer/pepper/url_response_info_util.cc ('k') | ppapi/proxy/serialized_structs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698