OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // IPC messages for page rendering. | 5 // IPC messages for page rendering. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "base/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1049 IPC_MESSAGE_ROUTED0(ViewMsg_MoveOrResizeStarted) | 1049 IPC_MESSAGE_ROUTED0(ViewMsg_MoveOrResizeStarted) |
1050 | 1050 |
1051 // Reply to ViewHostMsg_RequestMove, ViewHostMsg_ShowView, and | 1051 // Reply to ViewHostMsg_RequestMove, ViewHostMsg_ShowView, and |
1052 // ViewHostMsg_ShowWidget to inform the renderer that the browser has | 1052 // ViewHostMsg_ShowWidget to inform the renderer that the browser has |
1053 // processed the move. The browser may have ignored the move, but it finished | 1053 // processed the move. The browser may have ignored the move, but it finished |
1054 // processing. This is used because the renderer keeps a temporary cache of | 1054 // processing. This is used because the renderer keeps a temporary cache of |
1055 // the widget position while these asynchronous operations are in progress. | 1055 // the widget position while these asynchronous operations are in progress. |
1056 IPC_MESSAGE_ROUTED0(ViewMsg_Move_ACK) | 1056 IPC_MESSAGE_ROUTED0(ViewMsg_Move_ACK) |
1057 | 1057 |
1058 // Used to instruct the RenderView to send back updates to the preferred size. | 1058 // Used to instruct the RenderView to send back updates to the preferred size. |
1059 IPC_MESSAGE_ROUTED1(ViewMsg_EnablePreferredSizeChangedMode, | 1059 IPC_MESSAGE_ROUTED0(ViewMsg_EnablePreferredSizeChangedMode) |
1060 int /*flags*/) | |
1061 | 1060 |
1062 // Changes the text direction of the currently selected input field (if any). | 1061 // Changes the text direction of the currently selected input field (if any). |
1063 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, | 1062 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, |
1064 WebKit::WebTextDirection /* direction */) | 1063 WebKit::WebTextDirection /* direction */) |
1065 | 1064 |
1066 // Tells the renderer to clear the focused node (if any). | 1065 // Tells the renderer to clear the focused node (if any). |
1067 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedNode) | 1066 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedNode) |
1068 | 1067 |
1069 // Make the RenderView transparent and render it onto a custom background. The | 1068 // Make the RenderView transparent and render it onto a custom background. The |
1070 // background will be tiled in both directions if it is not large enough. | 1069 // background will be tiled in both directions if it is not large enough. |
(...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1943 media::MediaLogEvent /* event */) | 1942 media::MediaLogEvent /* event */) |
1944 | 1943 |
1945 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 1944 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
1946 // being sent back. | 1945 // being sent back. |
1947 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 1946 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
1948 | 1947 |
1949 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1948 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1950 // whenever the mouse is unlocked (which may or may not be caused by | 1949 // whenever the mouse is unlocked (which may or may not be caused by |
1951 // ViewHostMsg_UnlockMouse). | 1950 // ViewHostMsg_UnlockMouse). |
1952 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1951 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
OLD | NEW |