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