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 1002 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1013 // Reply to ViewHostMsg_RequestMove, ViewHostMsg_ShowView, and | 1013 // Reply to ViewHostMsg_RequestMove, ViewHostMsg_ShowView, and |
1014 // ViewHostMsg_ShowWidget to inform the renderer that the browser has | 1014 // ViewHostMsg_ShowWidget to inform the renderer that the browser has |
1015 // processed the move. The browser may have ignored the move, but it finished | 1015 // processed the move. The browser may have ignored the move, but it finished |
1016 // processing. This is used because the renderer keeps a temporary cache of | 1016 // processing. This is used because the renderer keeps a temporary cache of |
1017 // the widget position while these asynchronous operations are in progress. | 1017 // the widget position while these asynchronous operations are in progress. |
1018 IPC_MESSAGE_ROUTED0(ViewMsg_Move_ACK) | 1018 IPC_MESSAGE_ROUTED0(ViewMsg_Move_ACK) |
1019 | 1019 |
1020 // Used to instruct the RenderView to send back updates to the preferred size. | 1020 // Used to instruct the RenderView to send back updates to the preferred size. |
1021 IPC_MESSAGE_ROUTED0(ViewMsg_EnablePreferredSizeChangedMode) | 1021 IPC_MESSAGE_ROUTED0(ViewMsg_EnablePreferredSizeChangedMode) |
1022 | 1022 |
1023 // Used to instruct the RenderView to automatically resize and send back | |
1024 // updates for the new size. | |
1025 IPC_MESSAGE_ROUTED2(ViewMsg_EnableAutoResize, | |
darin (slow to review)
2011/12/02 05:48:24
nit: auto-resize or auto-size?
| |
1026 gfx::Size /* min_size */, | |
1027 gfx::Size /* max_size */) | |
1028 | |
1023 // Changes the text direction of the currently selected input field (if any). | 1029 // Changes the text direction of the currently selected input field (if any). |
1024 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, | 1030 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, |
1025 WebKit::WebTextDirection /* direction */) | 1031 WebKit::WebTextDirection /* direction */) |
1026 | 1032 |
1027 // Tells the renderer to clear the focused node (if any). | 1033 // Tells the renderer to clear the focused node (if any). |
1028 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedNode) | 1034 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedNode) |
1029 | 1035 |
1030 // Make the RenderView transparent and render it onto a custom background. The | 1036 // Make the RenderView transparent and render it onto a custom background. The |
1031 // background will be tiled in both directions if it is not large enough. | 1037 // background will be tiled in both directions if it is not large enough. |
1032 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackground, | 1038 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackground, |
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1912 media::MediaLogEvent /* event */) | 1918 media::MediaLogEvent /* event */) |
1913 | 1919 |
1914 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 1920 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
1915 // being sent back. | 1921 // being sent back. |
1916 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 1922 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
1917 | 1923 |
1918 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1924 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1919 // whenever the mouse is unlocked (which may or may not be caused by | 1925 // whenever the mouse is unlocked (which may or may not be caused by |
1920 // ViewHostMsg_UnlockMouse). | 1926 // ViewHostMsg_UnlockMouse). |
1921 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1927 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
OLD | NEW |