Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 45b0c4b1cba7dc1ed302de40d064cbcea5abd60c..beb86d09b6b97876f3a0b1e38ad65297f32b8c88 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -977,10 +977,30 @@ IPC_MESSAGE_ROUTED1(ViewMsg_Replace, |
string16) |
IPC_MESSAGE_ROUTED0(ViewMsg_Delete) |
IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) |
- |
// Replaces all text in the current input field with the specified string. |
+IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceAll, |
+ string16 /* text */) |
IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) |
+// Selects between the given start and end offsets in the currently focused |
+// editable field. |
+IPC_MESSAGE_ROUTED2(ViewMsg_SetEditableSelectionOffsets, |
+ int /* start */, |
+ int /* end */) |
+ |
+// Sets the text composition to be between the given start and end offsets |
+// in the currently focused editable field. |
+IPC_MESSAGE_ROUTED3(ViewMsg_SetCompositionFromExistingText, |
+ int /* start */, |
+ int /* end */, |
+ std::vector<WebKit::WebCompositionUnderline> /* underlines */) |
+ |
+// Deletes the current selection plus the specified number of characters before |
+// and after the selection or caret. |
+IPC_MESSAGE_ROUTED2(ViewMsg_ExtendSelectionAndDelete, |
+ int /* before */, |
+ int /* after */) |
+ |
// Requests the renderer to select the region between two points. |
// Expects a SelectRange_ACK message when finished. |
IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange, |