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 963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
974 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) | 974 IPC_MESSAGE_ROUTED0(ViewMsg_CopyToFindPboard) |
975 #endif | 975 #endif |
976 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) | 976 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) |
977 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle) | 977 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle) |
978 // Replaces the selected region or a word around the cursor with the | 978 // Replaces the selected region or a word around the cursor with the |
979 // specified string. | 979 // specified string. |
980 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, | 980 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, |
981 string16) | 981 string16) |
982 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) | 982 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) |
983 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) | 983 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) |
| 984 // Replaces all text in the current input field with the specified string. |
| 985 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceAll, |
| 986 string16 /* text */) |
| 987 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) |
984 | 988 |
985 // Replaces all text in the current input field with the specified string. | 989 // Selects between the given start and end offsets in the currently focused |
986 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) | 990 // editable field. |
| 991 IPC_MESSAGE_ROUTED2(ViewMsg_SetEditableSelectionOffsets, |
| 992 int /* start */, |
| 993 int /* end */) |
| 994 |
| 995 // Sets the text composition to be between the given start and end offsets |
| 996 // in the currently focused editable field. |
| 997 IPC_MESSAGE_ROUTED3(ViewMsg_SetComposingRegion, |
| 998 int /* start */, |
| 999 int /* end */, |
| 1000 std::vector<WebKit::WebCompositionUnderline> /* underlines */) |
| 1001 |
| 1002 // Deletes characters before and after the current editing point (caret). |
| 1003 IPC_MESSAGE_ROUTED2(ViewMsg_DeleteSurroundingText, |
| 1004 int /* before */, |
| 1005 int /* after */) |
987 | 1006 |
988 // Requests the renderer to select the region between two points. | 1007 // Requests the renderer to select the region between two points. |
989 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, | 1008 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, |
990 gfx::Point /* start */, | 1009 gfx::Point /* start */, |
991 gfx::Point /* end */) | 1010 gfx::Point /* end */) |
992 | 1011 |
993 // Copies the image at location x, y to the clipboard (if there indeed is an | 1012 // Copies the image at location x, y to the clipboard (if there indeed is an |
994 // image at that location). | 1013 // image at that location). |
995 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, | 1014 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, |
996 int /* x */, | 1015 int /* x */, |
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2178 // (according to the value of is_hung). The browser can give the user the | 2197 // (according to the value of is_hung). The browser can give the user the |
2179 // option of killing the plugin. | 2198 // option of killing the plugin. |
2180 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, | 2199 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, |
2181 int /* plugin_child_id */, | 2200 int /* plugin_child_id */, |
2182 FilePath /* path */, | 2201 FilePath /* path */, |
2183 bool /* is_hung */) | 2202 bool /* is_hung */) |
2184 | 2203 |
2185 // Screen was rotated. Dispatched to the onorientationchange javascript API. | 2204 // Screen was rotated. Dispatched to the onorientationchange javascript API. |
2186 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, | 2205 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, |
2187 int /* orientation */) | 2206 int /* orientation */) |
OLD | NEW |