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