Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 42495: A tricky fix for Issue 1845 (Take 2).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 // The browser sends this message when an extension API has a response. 522 // The browser sends this message when an extension API has a response.
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
533 // Changes the text direction of a selected input field.
534 // * direction (int)
535 // Represents the new text direction.
536 // Its possible values are listed below:
537 // Value New Text Direction
538 // WEB_TEXT_DIRECTION_DEFAULT NaturalWritingDirection ("inherit")
539 // WEB_TEXT_DIRECTION_LTR LeftToRightWritingDirection ("rtl")
540 // WEB_TEXT_DIRECTION_RTL RightToLeftWritingDirection ("ltr")
541 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection,
542 int /* direction */)
532 IPC_END_MESSAGES(View) 543 IPC_END_MESSAGES(View)
533 544
534 545
535 //----------------------------------------------------------------------------- 546 //-----------------------------------------------------------------------------
536 // WebContents messages 547 // WebContents messages
537 // These are messages sent from the renderer to the browser process. 548 // These are messages sent from the renderer to the browser process.
538 549
539 IPC_BEGIN_MESSAGES(ViewHost) 550 IPC_BEGIN_MESSAGES(ViewHost)
540 // Sent by the renderer when it is creating a new window. The browser creates 551 // Sent by the renderer when it is creating a new window. The browser creates
541 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 552 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_OpenChannelToExtension, 1265 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_OpenChannelToExtension,
1255 std::string /* extension_id */, 1266 std::string /* extension_id */,
1256 int /* channel_id */) 1267 int /* channel_id */)
1257 1268
1258 // Send a message to an extension process. The handle is the value returned 1269 // Send a message to an extension process. The handle is the value returned
1259 // by ViewHostMsg_OpenChannelToExtension. 1270 // by ViewHostMsg_OpenChannelToExtension.
1260 IPC_MESSAGE_CONTROL2(ViewHostMsg_ExtensionPostMessage, 1271 IPC_MESSAGE_CONTROL2(ViewHostMsg_ExtensionPostMessage,
1261 int /* channel_id */, 1272 int /* channel_id */,
1262 std::string /* message */) 1273 std::string /* message */)
1263 IPC_END_MESSAGES(ViewHost) 1274 IPC_END_MESSAGES(ViewHost)
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_win.cc ('k') | chrome/renderer/render_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698