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