Chromium Code Reviews| 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 993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1004 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) | 1004 IPC_MESSAGE_ROUTED0(ViewMsg_Paste) |
| 1005 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle) | 1005 IPC_MESSAGE_ROUTED0(ViewMsg_PasteAndMatchStyle) |
| 1006 // Replaces the selected region or a word around the cursor with the | 1006 // Replaces the selected region or a word around the cursor with the |
| 1007 // specified string. | 1007 // specified string. |
| 1008 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, | 1008 IPC_MESSAGE_ROUTED1(ViewMsg_Replace, |
| 1009 string16) | 1009 string16) |
| 1010 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) | 1010 IPC_MESSAGE_ROUTED0(ViewMsg_Delete) |
| 1011 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) | 1011 IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) |
| 1012 | 1012 |
| 1013 // Replaces all text in the current input field with the specified string. | 1013 // Replaces all text in the current input field with the specified string. |
| 1014 IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceAll, | |
| 1015 string16 /* text */) | |
| 1014 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) | 1016 IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) |
| 1015 | 1017 |
| 1018 // Selects between the given start and end offsets in the currently focused | |
| 1019 // editable field. | |
| 1020 IPC_MESSAGE_ROUTED2(ViewMsg_SetEditableSelectionOffsets, | |
| 1021 int /* start */, | |
| 1022 int /* end */) | |
| 1023 | |
| 1024 // Sets the text composition to be between the given start and end offsets | |
| 1025 // in the currently focused editable field. | |
| 1026 IPC_MESSAGE_ROUTED3(ViewMsg_SetCompositionFromExistingText, | |
|
James Su
2012/08/31 02:05:25
nit: How about group this message and ViewMsg_ImeS
olilan
2012/08/31 16:47:10
Moved these three to be next to the other text inp
| |
| 1027 int /* start */, | |
| 1028 int /* end */, | |
| 1029 std::vector<WebKit::WebCompositionUnderline> /* underlines */) | |
| 1030 | |
| 1031 // Deletes the current selection plus the specified number of characters before | |
| 1032 // and after the selection or caret. | |
| 1033 IPC_MESSAGE_ROUTED2(ViewMsg_ExtendSelectionAndDelete, | |
| 1034 int /* before */, | |
| 1035 int /* after */) | |
| 1036 | |
| 1037 | |
| 1016 // Requests the renderer to select the region between two points. | 1038 // Requests the renderer to select the region between two points. |
| 1017 // Expects a SelectRange_ACK message when finished. | 1039 // Expects a SelectRange_ACK message when finished. |
| 1018 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, | 1040 IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, |
| 1019 gfx::Point /* start */, | 1041 gfx::Point /* start */, |
| 1020 gfx::Point /* end */) | 1042 gfx::Point /* end */) |
| 1021 | 1043 |
| 1022 // Copies the image at location x, y to the clipboard (if there indeed is an | 1044 // Copies the image at location x, y to the clipboard (if there indeed is an |
| 1023 // image at that location). | 1045 // image at that location). |
| 1024 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, | 1046 IPC_MESSAGE_ROUTED2(ViewMsg_CopyImageAt, |
| 1025 int /* x */, | 1047 int /* x */, |
| (...skipping 1247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2273 // * id - (integer) the frame identifier in this RenderView | 2295 // * id - (integer) the frame identifier in this RenderView |
| 2274 // * name - (string) the name of the frame, if one has been assigned | 2296 // * name - (string) the name of the frame, if one has been assigned |
| 2275 // * subtree - an array of the same type of objects for each frame that is a | 2297 // * subtree - an array of the same type of objects for each frame that is a |
| 2276 // direct child of the current frame. This property can be omitted if | 2298 // direct child of the current frame. This property can be omitted if |
| 2277 // there are no direct child frames, so less data is transferred. | 2299 // there are no direct child frames, so less data is transferred. |
| 2278 // | 2300 // |
| 2279 // This message must be sent on any events that modify the tree structure or | 2301 // This message must be sent on any events that modify the tree structure or |
| 2280 // the names of any frames. | 2302 // the names of any frames. |
| 2281 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameTreeUpdated, | 2303 IPC_MESSAGE_ROUTED1(ViewHostMsg_FrameTreeUpdated, |
| 2282 std::string /* json encoded frame tree */) | 2304 std::string /* json encoded frame tree */) |
| OLD | NEW |