| OLD | NEW |
| 1 // Copyright (c) 2006-2008 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> |
| 11 | 11 |
| (...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 // Changes the text direction of a selected input field. | 557 // Changes the text direction of a selected input field. |
| 558 // * direction (int) | 558 // * direction (int) |
| 559 // Represents the new text direction. | 559 // Represents the new text direction. |
| 560 // Its possible values are listed below: | 560 // Its possible values are listed below: |
| 561 // Value New Text Direction | 561 // Value New Text Direction |
| 562 // WEB_TEXT_DIRECTION_DEFAULT NaturalWritingDirection ("inherit") | 562 // WEB_TEXT_DIRECTION_DEFAULT NaturalWritingDirection ("inherit") |
| 563 // WEB_TEXT_DIRECTION_LTR LeftToRightWritingDirection ("rtl") | 563 // WEB_TEXT_DIRECTION_LTR LeftToRightWritingDirection ("rtl") |
| 564 // WEB_TEXT_DIRECTION_RTL RightToLeftWritingDirection ("ltr") | 564 // WEB_TEXT_DIRECTION_RTL RightToLeftWritingDirection ("ltr") |
| 565 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, | 565 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, |
| 566 int /* direction */) | 566 int /* direction */) |
| 567 |
| 568 // Tells the renderer to clear the focused node (if any). |
| 569 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedNode) |
| 567 IPC_END_MESSAGES(View) | 570 IPC_END_MESSAGES(View) |
| 568 | 571 |
| 569 | 572 |
| 570 //----------------------------------------------------------------------------- | 573 //----------------------------------------------------------------------------- |
| 571 // WebContents messages | 574 // WebContents messages |
| 572 // These are messages sent from the renderer to the browser process. | 575 // These are messages sent from the renderer to the browser process. |
| 573 | 576 |
| 574 IPC_BEGIN_MESSAGES(ViewHost) | 577 IPC_BEGIN_MESSAGES(ViewHost) |
| 575 // Sent by the renderer when it is creating a new window. The browser creates | 578 // Sent by the renderer when it is creating a new window. The browser creates |
| 576 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is | 579 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is |
| (...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1333 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_OpenChannelToExtension, | 1336 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_OpenChannelToExtension, |
| 1334 std::string /* extension_id */, | 1337 std::string /* extension_id */, |
| 1335 int /* port_id */) | 1338 int /* port_id */) |
| 1336 | 1339 |
| 1337 // Send a message to an extension process. The handle is the value returned | 1340 // Send a message to an extension process. The handle is the value returned |
| 1338 // by ViewHostMsg_OpenChannelToExtension. | 1341 // by ViewHostMsg_OpenChannelToExtension. |
| 1339 IPC_MESSAGE_CONTROL2(ViewHostMsg_ExtensionPostMessage, | 1342 IPC_MESSAGE_CONTROL2(ViewHostMsg_ExtensionPostMessage, |
| 1340 int /* port_id */, | 1343 int /* port_id */, |
| 1341 std::string /* message */) | 1344 std::string /* message */) |
| 1342 IPC_END_MESSAGES(ViewHost) | 1345 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |