| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 IPC_MESSAGE_ROUTED2(ViewMsg_ExtensionResponse, | 523 IPC_MESSAGE_ROUTED2(ViewMsg_ExtensionResponse, |
| 524 int /* callback id */, | 524 int /* callback id */, |
| 525 std::string /* response */) | 525 std::string /* response */) |
| 526 | 526 |
| 527 // Relay a message sent from a renderer to an extension process. channel_id | 527 // Relay a message sent from a renderer to an extension process. channel_id |
| 528 // is a handle that can be used for sending a response. | 528 // is a handle that can be used for sending a response. |
| 529 IPC_MESSAGE_ROUTED2(ViewMsg_HandleExtensionMessage, | 529 IPC_MESSAGE_ROUTED2(ViewMsg_HandleExtensionMessage, |
| 530 std::string /* message */, | 530 std::string /* message */, |
| 531 int /* channel_id */) | 531 int /* channel_id */) |
| 532 | 532 |
| 533 // Tell the renderer process all known extension function names. |
| 534 IPC_MESSAGE_CONTROL1(ViewMsg_Extension_SetFunctionNames, |
| 535 std::vector<std::string>) |
| 536 |
| 533 // Changes the text direction of a selected input field. | 537 // Changes the text direction of a selected input field. |
| 534 // * direction (int) | 538 // * direction (int) |
| 535 // Represents the new text direction. | 539 // Represents the new text direction. |
| 536 // Its possible values are listed below: | 540 // Its possible values are listed below: |
| 537 // Value New Text Direction | 541 // Value New Text Direction |
| 538 // WEB_TEXT_DIRECTION_DEFAULT NaturalWritingDirection ("inherit") | 542 // WEB_TEXT_DIRECTION_DEFAULT NaturalWritingDirection ("inherit") |
| 539 // WEB_TEXT_DIRECTION_LTR LeftToRightWritingDirection ("rtl") | 543 // WEB_TEXT_DIRECTION_LTR LeftToRightWritingDirection ("rtl") |
| 540 // WEB_TEXT_DIRECTION_RTL RightToLeftWritingDirection ("ltr") | 544 // WEB_TEXT_DIRECTION_RTL RightToLeftWritingDirection ("ltr") |
| 541 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, | 545 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, |
| 542 int /* direction */) | 546 int /* direction */) |
| (...skipping 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1265 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_OpenChannelToExtension, | 1269 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_OpenChannelToExtension, |
| 1266 std::string /* extension_id */, | 1270 std::string /* extension_id */, |
| 1267 int /* channel_id */) | 1271 int /* channel_id */) |
| 1268 | 1272 |
| 1269 // Send a message to an extension process. The handle is the value returned | 1273 // Send a message to an extension process. The handle is the value returned |
| 1270 // by ViewHostMsg_OpenChannelToExtension. | 1274 // by ViewHostMsg_OpenChannelToExtension. |
| 1271 IPC_MESSAGE_CONTROL2(ViewHostMsg_ExtensionPostMessage, | 1275 IPC_MESSAGE_CONTROL2(ViewHostMsg_ExtensionPostMessage, |
| 1272 int /* channel_id */, | 1276 int /* channel_id */, |
| 1273 std::string /* message */) | 1277 std::string /* message */) |
| 1274 IPC_END_MESSAGES(ViewHost) | 1278 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |