OLD | NEW |
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 Loading... |
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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1177 // PPB_Testing. | 1173 // PPB_Testing. |
1178 IPC_SYNC_MESSAGE_ROUTED3_1( | 1174 IPC_SYNC_MESSAGE_ROUTED3_1( |
1179 PpapiHostMsg_PPBTesting_ReadImageData, | 1175 PpapiHostMsg_PPBTesting_ReadImageData, |
1180 ppapi::HostResource /* device_context_2d */, | 1176 ppapi::HostResource /* device_context_2d */, |
1181 ppapi::HostResource /* image */, | 1177 ppapi::HostResource /* image */, |
1182 PP_Point /* top_left */, | 1178 PP_Point /* top_left */, |
1183 PP_Bool /* result */) | 1179 PP_Bool /* result */) |
1184 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, | 1180 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, |
1185 PP_Instance /* instance */, | 1181 PP_Instance /* instance */, |
1186 uint32 /* result */) | 1182 uint32 /* result */) |
1187 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBTesting_SimulateInputEvent, | 1183 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBTesting_SimulateInputEvent, |
1188 PP_Instance /* instance */, | 1184 PP_Instance /* instance */, |
1189 ppapi::InputEventData /* input_event */) | 1185 ppapi::InputEventData /* input_event */) |
1190 IPC_SYNC_MESSAGE_ROUTED1_0( | 1186 IPC_SYNC_MESSAGE_ROUTED1_0( |
1191 PpapiHostMsg_PPBTesting_SetMinimumArrayBufferSizeForShmem, | 1187 PpapiHostMsg_PPBTesting_SetMinimumArrayBufferSizeForShmem, |
1192 uint32_t /* threshold */) | 1188 uint32_t /* threshold */) |
1193 | 1189 |
1194 #if !defined(OS_NACL) && !defined(NACL_WIN64) | 1190 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
1195 | 1191 |
1196 // PPB_VideoDecoder_Dev. | 1192 // PPB_VideoDecoder_Dev. |
1197 // (Messages from plugin to renderer.) | 1193 // (Messages from plugin to renderer.) |
1198 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create, | 1194 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create, |
1199 PP_Instance /* instance */, | 1195 PP_Instance /* instance */, |
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2274 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2270 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
2275 PP_TalkPermission /* permission */) | 2271 PP_TalkPermission /* permission */) |
2276 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2272 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
2277 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2273 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
2278 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2274 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
2279 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2275 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
2280 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2276 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
2281 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2277 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
2282 | 2278 |
2283 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2279 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |