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_SupportsInterface, | 489 IPC_SYNC_MESSAGE_CONTROL1_1(PpapiMsg_IsInterfaceSupported, |
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 */) |
492 | 496 |
493 IPC_MESSAGE_CONTROL1(PpapiHostMsg_LogInterfaceUsage, | 497 IPC_MESSAGE_CONTROL1(PpapiHostMsg_LogInterfaceUsage, |
494 int /* interface_hash */) | 498 int /* interface_hash */) |
495 | 499 |
496 #if !defined(OS_NACL) && !defined(NACL_WIN64) | 500 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
497 // Network state notification from the browser for implementing | 501 // Network state notification from the browser for implementing |
498 // PPP_NetworkState_Dev. | 502 // PPP_NetworkState_Dev. |
499 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, | 503 IPC_MESSAGE_CONTROL1(PpapiMsg_SetNetworkState, |
500 bool /* online */) | 504 bool /* online */) |
501 | 505 |
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1172 // PPB_Testing. | 1176 // PPB_Testing. |
1173 IPC_SYNC_MESSAGE_ROUTED3_1( | 1177 IPC_SYNC_MESSAGE_ROUTED3_1( |
1174 PpapiHostMsg_PPBTesting_ReadImageData, | 1178 PpapiHostMsg_PPBTesting_ReadImageData, |
1175 ppapi::HostResource /* device_context_2d */, | 1179 ppapi::HostResource /* device_context_2d */, |
1176 ppapi::HostResource /* image */, | 1180 ppapi::HostResource /* image */, |
1177 PP_Point /* top_left */, | 1181 PP_Point /* top_left */, |
1178 PP_Bool /* result */) | 1182 PP_Bool /* result */) |
1179 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, | 1183 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBTesting_GetLiveObjectsForInstance, |
1180 PP_Instance /* instance */, | 1184 PP_Instance /* instance */, |
1181 uint32 /* result */) | 1185 uint32 /* result */) |
1182 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBTesting_SimulateInputEvent, | 1186 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBTesting_SimulateInputEvent, |
1183 PP_Instance /* instance */, | 1187 PP_Instance /* instance */, |
1184 ppapi::InputEventData /* input_event */) | 1188 ppapi::InputEventData /* input_event */) |
1185 IPC_SYNC_MESSAGE_ROUTED1_0( | 1189 IPC_SYNC_MESSAGE_ROUTED1_0( |
1186 PpapiHostMsg_PPBTesting_SetMinimumArrayBufferSizeForShmem, | 1190 PpapiHostMsg_PPBTesting_SetMinimumArrayBufferSizeForShmem, |
1187 uint32_t /* threshold */) | 1191 uint32_t /* threshold */) |
1188 | 1192 |
1189 #if !defined(OS_NACL) && !defined(NACL_WIN64) | 1193 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
1190 | 1194 |
1191 // PPB_VideoDecoder_Dev. | 1195 // PPB_VideoDecoder_Dev. |
1192 // (Messages from plugin to renderer.) | 1196 // (Messages from plugin to renderer.) |
1193 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create, | 1197 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create, |
1194 PP_Instance /* instance */, | 1198 PP_Instance /* instance */, |
(...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2268 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, | 2272 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
2269 PP_TalkPermission /* permission */) | 2273 PP_TalkPermission /* permission */) |
2270 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) | 2274 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
2271 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) | 2275 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
2272 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) | 2276 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
2273 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) | 2277 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
2274 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) | 2278 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply) |
2275 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) | 2279 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
2276 | 2280 |
2277 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2281 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |