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/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 1025 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1036 gfx::Size /* max_size */) | 1036 gfx::Size /* max_size */) |
1037 | 1037 |
1038 // Used to instruct the RenderView to disalbe automatically resize. | 1038 // Used to instruct the RenderView to disalbe automatically resize. |
1039 IPC_MESSAGE_ROUTED1(ViewMsg_DisableAutoResize, | 1039 IPC_MESSAGE_ROUTED1(ViewMsg_DisableAutoResize, |
1040 gfx::Size /* new_size */) | 1040 gfx::Size /* new_size */) |
1041 | 1041 |
1042 // Changes the text direction of the currently selected input field (if any). | 1042 // Changes the text direction of the currently selected input field (if any). |
1043 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, | 1043 IPC_MESSAGE_ROUTED1(ViewMsg_SetTextDirection, |
1044 blink::WebTextDirection /* direction */) | 1044 blink::WebTextDirection /* direction */) |
1045 | 1045 |
1046 // Tells the renderer to clear the focused node (if any). | 1046 // Tells the renderer to clear the focused element (if any). |
1047 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedNode) | 1047 IPC_MESSAGE_ROUTED0(ViewMsg_ClearFocusedElement) |
1048 | 1048 |
1049 // Make the RenderView transparent and render it onto a custom background. The | 1049 // Make the RenderView transparent and render it onto a custom background. The |
1050 // background will be tiled in both directions if it is not large enough. | 1050 // background will be tiled in both directions if it is not large enough. |
1051 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackground, | 1051 IPC_MESSAGE_ROUTED1(ViewMsg_SetBackground, |
1052 SkBitmap /* background */) | 1052 SkBitmap /* background */) |
1053 | 1053 |
1054 // Used to tell the renderer not to add scrollbars with height and | 1054 // Used to tell the renderer not to add scrollbars with height and |
1055 // width below a threshold. | 1055 // width below a threshold. |
1056 IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows, | 1056 IPC_MESSAGE_ROUTED1(ViewMsg_DisableScrollbarsForSmallWindows, |
1057 gfx::Size /* disable_scrollbar_size_limit */) | 1057 gfx::Size /* disable_scrollbar_size_limit */) |
(...skipping 1053 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2111 // synchronously (see crbug.com/120597). This IPC message sends the character | 2111 // synchronously (see crbug.com/120597). This IPC message sends the character |
2112 // bounds after every composition change to always have correct bound info. | 2112 // bounds after every composition change to always have correct bound info. |
2113 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2113 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2114 gfx::Range /* composition range */, | 2114 gfx::Range /* composition range */, |
2115 std::vector<gfx::Rect> /* character bounds */) | 2115 std::vector<gfx::Rect> /* character bounds */) |
2116 #endif | 2116 #endif |
2117 | 2117 |
2118 // Adding a new message? Stick to the sort order above: first platform | 2118 // Adding a new message? Stick to the sort order above: first platform |
2119 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2119 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2120 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2120 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |