| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
| 6 // header guard. | 6 // header guard. |
| 7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1383 int /* routing_id */, | 1383 int /* routing_id */, |
| 1384 std::string /* extension_id */, | 1384 std::string /* extension_id */, |
| 1385 int /* port_id */) | 1385 int /* port_id */) |
| 1386 | 1386 |
| 1387 // Send a message to an extension process. The handle is the value returned | 1387 // Send a message to an extension process. The handle is the value returned |
| 1388 // by ViewHostMsg_OpenChannelToExtension. | 1388 // by ViewHostMsg_OpenChannelToExtension. |
| 1389 IPC_MESSAGE_ROUTED2(ViewHostMsg_ExtensionPostMessage, | 1389 IPC_MESSAGE_ROUTED2(ViewHostMsg_ExtensionPostMessage, |
| 1390 int /* port_id */, | 1390 int /* port_id */, |
| 1391 std::string /* message */) | 1391 std::string /* message */) |
| 1392 | 1392 |
| 1393 // Send a message to an extension process. The handle is the value returned |
| 1394 // by ViewHostMsg_OpenChannelToExtension. |
| 1395 IPC_MESSAGE_CONTROL1(ViewHostMsg_ExtensionCloseChannel, |
| 1396 int /* port_id */) |
| 1397 |
| 1393 // Message to show a popup menu using native cocoa controls (Mac only). | 1398 // Message to show a popup menu using native cocoa controls (Mac only). |
| 1394 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup, | 1399 IPC_MESSAGE_ROUTED1(ViewHostMsg_ShowPopup, |
| 1395 ViewHostMsg_ShowPopup_Params) | 1400 ViewHostMsg_ShowPopup_Params) |
| 1396 | 1401 |
| 1397 // Sent as a result of a focus change in the renderer (if accessibility is | 1402 // Sent as a result of a focus change in the renderer (if accessibility is |
| 1398 // enabled), to notify the browser side that its accessibility focus needs to | 1403 // enabled), to notify the browser side that its accessibility focus needs to |
| 1399 // change as well. Takes the id of the accessibility object that now has | 1404 // change as well. Takes the id of the accessibility object that now has |
| 1400 // focus. | 1405 // focus. |
| 1401 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityFocusChange, | 1406 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityFocusChange, |
| 1402 int /* accessibility object id */) | 1407 int /* accessibility object id */) |
| (...skipping 18 matching lines...) Expand all Loading... |
| 1421 // ExtensionUnpacker for details. | 1426 // ExtensionUnpacker for details. |
| 1422 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Succeeded, | 1427 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Succeeded, |
| 1423 DictionaryValue /* manifest */) | 1428 DictionaryValue /* manifest */) |
| 1424 | 1429 |
| 1425 // Reply when the utility process has failed while unpacking an extension. | 1430 // Reply when the utility process has failed while unpacking an extension. |
| 1426 // |error_message| is a user-displayable explanation of what went wrong. | 1431 // |error_message| is a user-displayable explanation of what went wrong. |
| 1427 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, | 1432 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackExtension_Failed, |
| 1428 std::string /* error_message, if any */) | 1433 std::string /* error_message, if any */) |
| 1429 | 1434 |
| 1430 IPC_END_MESSAGES(ViewHost) | 1435 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |