Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Unified Diff: content/common/view_messages.h

Issue 10911012: Upstream Android IME support (ImeAdapter). (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index f0c1bd7a46842fa9c08aa858f32ef90abc20065a..c5033383e880388bc5ad7d8f82a990a569d804a2 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1011,8 +1011,30 @@ 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,
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
+ 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,

Powered by Google App Engine
This is Rietveld 408576698