OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1045 | 1045 |
1046 // Used to instruct the RenderView to send back updates to the preferred size. | 1046 // Used to instruct the RenderView to send back updates to the preferred size. |
1047 IPC_MESSAGE_ROUTED0(ViewMsg_EnablePreferredSizeChangedMode) | 1047 IPC_MESSAGE_ROUTED0(ViewMsg_EnablePreferredSizeChangedMode) |
1048 | 1048 |
1049 // Used to instruct the RenderView to automatically resize and send back | 1049 // Used to instruct the RenderView to automatically resize and send back |
1050 // updates for the new size. | 1050 // updates for the new size. |
1051 IPC_MESSAGE_ROUTED2(ViewMsg_EnableAutoResize, | 1051 IPC_MESSAGE_ROUTED2(ViewMsg_EnableAutoResize, |
1052 gfx::Size /* min_size */, | 1052 gfx::Size /* min_size */, |
1053 gfx::Size /* max_size */) | 1053 gfx::Size /* max_size */) |
1054 | 1054 |
| 1055 // Used to instruct the RenderView to disalbe automatically resize. |
| 1056 IPC_MESSAGE_ROUTED1(ViewMsg_DisableAutoResize, |
| 1057 gfx::Size /* new_size */) |
| 1058 |
1055 // Changes the text direction of the currently selected input field (if any). | 1059 // Changes the text direction of the currently selected input field (if any). |
1056 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, | 1060 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, |
1057 WebKit::WebTextDirection /* direction */) | 1061 WebKit::WebTextDirection /* direction */) |
1058 | 1062 |
1059 // Tells the renderer to clear the focused node (if any). | 1063 // Tells the renderer to clear the focused node (if any). |
1060 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedNode) | 1064 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedNode) |
1061 | 1065 |
1062 // Make the RenderView transparent and render it onto a custom background. The | 1066 // Make the RenderView transparent and render it onto a custom background. The |
1063 // background will be tiled in both directions if it is not large enough. | 1067 // background will be tiled in both directions if it is not large enough. |
1064 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackground, | 1068 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackground, |
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1944 // have a javascript send a native value (string, number, boolean) to the | 1948 // have a javascript send a native value (string, number, boolean) to the |
1945 // listener in Cpp. (DomAutomationController) | 1949 // listener in Cpp. (DomAutomationController) |
1946 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 1950 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
1947 std::string /* json_string */, | 1951 std::string /* json_string */, |
1948 int /* automation_id */) | 1952 int /* automation_id */) |
1949 | 1953 |
1950 // Enable or disable inverting of web content pixels, for users who prefer | 1954 // Enable or disable inverting of web content pixels, for users who prefer |
1951 // white-on-black. | 1955 // white-on-black. |
1952 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, | 1956 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent, |
1953 bool /* invert */) | 1957 bool /* invert */) |
OLD | NEW |