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

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: nits fixed; recent downstream changes applied; ime adapter added to browser_jni_registrar 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..5336c4b7eb88cdde9be8c71c58109375806d1a1a 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1011,6 +1011,8 @@ 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)
// Requests the renderer to select the region between two points.
@@ -1174,6 +1176,25 @@ IPC_MESSAGE_ROUTED2(ViewMsg_ImeConfirmComposition,
string16 /* text */,
ui::Range /* replacement_range */)
+// 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 */)
+
+// Selects between the given start and end offsets in the currently focused
+// editable field.
+IPC_MESSAGE_ROUTED2(ViewMsg_SetEditableSelectionOffsets,
+ int /* start */,
+ int /* end */)
+
+// 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 */)
+
// Used to notify the render-view that we have received a target URL. Used
// to prevent target URLs spamming the browser.
IPC_MESSAGE_ROUTED0(ViewMsg_UpdateTargetURL_ACK)

Powered by Google App Engine
This is Rietveld 408576698