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

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

Issue 714483002: Revert of PPAPI: Make GetProxiedInterface not re-enter the plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ppapi/proxy/plugin_dispatcher_unittest.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 <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 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_ReserveInstanceId, 479 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_ReserveInstanceId,
480 PP_Instance /* instance */, 480 PP_Instance /* instance */,
481 bool /* usable */) 481 bool /* usable */)
482 482
483 // Passes the WebKit preferences to the plugin. 483 // Passes the WebKit preferences to the plugin.
484 IPC_MESSAGE_CONTROL1(PpapiMsg_SetPreferences, 484 IPC_MESSAGE_CONTROL1(PpapiMsg_SetPreferences,
485 ppapi::Preferences) 485 ppapi::Preferences)
486 486
487 // Sent in both directions to see if the other side supports the given 487 // Sent in both directions to see if the other side supports the given
488 // interface. 488 // interface.
489 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_IsInterfaceSupported, 489 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_SupportsInterface,
490 std::string /* interface_name */, 490 std::string /* interface_name */,
491 bool /* result */) 491 bool /* result */)
492 // Sent by the plugin side of the proxy to inform the renderer that a given
493 // plugin interface (PPP_*) is supported.
494 IPC_MESSAGE_CONTROL1(PpapiHostMsg_PluginSupportsInterface,
495 std::string /* interface_name */)
496 492
497 IPC_MESSAGE_CONTROL1(PpapiHostMsg_LogInterfaceUsage, 493 IPC_MESSAGE_CONTROL1(PpapiHostMsg_LogInterfaceUsage,
498 int /* interface_hash */) 494 int /* interface_hash */)
499 495
500 #if !defined(OS_NACL) && !defined(NACL_WIN64) 496 #if !defined(OS_NACL) && !defined(NACL_WIN64)
501 // Network state notification from the browser for implementing 497 // Network state notification from the browser for implementing
502 // PPP_NetworkState_Dev. 498 // PPP_NetworkState_Dev.
503 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, 499 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState,
504 bool /* online */) 500 bool /* online */)
505 501
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 // PPB_Testing. 1172 // PPB_Testing.
1177 IPC_SYNC_MESSAGE_ROUTED3_1( 1173 IPC_SYNC_MESSAGE_ROUTED3_1(
1178 PpapiHostMsg_PPBTesting_ReadImageData, 1174 PpapiHostMsg_PPBTesting_ReadImageData,
1179 ppapi::HostResource /* device_context_2d */, 1175 ppapi::HostResource /* device_context_2d */,
1180 ppapi::HostResource /* image */, 1176 ppapi::HostResource /* image */,
1181 PP_Point /* top_left */, 1177 PP_Point /* top_left */,
1182 PP_Bool /* result */) 1178 PP_Bool /* result */)
1183 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, 1179 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance,
1184 PP_Instance /* instance */, 1180 PP_Instance /* instance */,
1185 uint32 /* result */) 1181 uint32 /* result */)
1186 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBTesting_SimulateInputEvent, 1182 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBTesting_SimulateInputEvent,
1187 PP_Instance /* instance */, 1183 PP_Instance /* instance */,
1188 ppapi::InputEventData /* input_event */) 1184 ppapi::InputEventData /* input_event */)
1189 IPC_SYNC_MESSAGE_ROUTED1_0( 1185 IPC_SYNC_MESSAGE_ROUTED1_0(
1190 PpapiHostMsg_PPBTesting_SetMinimumArrayBufferSizeForShmem, 1186 PpapiHostMsg_PPBTesting_SetMinimumArrayBufferSizeForShmem,
1191 uint32_t /* threshold */) 1187 uint32_t /* threshold */)
1192 1188
1193 #if !defined(OS_NACL) && !defined(NACL_WIN64) 1189 #if !defined(OS_NACL) && !defined(NACL_WIN64)
1194 1190
1195 // PPB_VideoDecoder_Dev. 1191 // PPB_VideoDecoder_Dev.
1196 // (Messages from plugin to renderer.) 1192 // (Messages from plugin to renderer.)
1197 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create, 1193 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create,
1198 PP_Instance /* instance */, 1194 PP_Instance /* instance */,
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after
2272 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, 2268 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
2273 PP_TalkPermission /* permission */) 2269 PP_TalkPermission /* permission */)
2274 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) 2270 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
2275 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) 2271 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
2276 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) 2272 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
2277 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) 2273 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
2278 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) 2274 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
2279 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) 2275 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
2280 2276
2281 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 2277 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/proxy/plugin_dispatcher_unittest.cc ('k') | ppapi/proxy/ppapi_proxy_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698