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

Unified Diff: content/common/view_messages.h

Issue 10836053: Add IPCs/methods for additional IME actions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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
« no previous file with comments | « no previous file | content/renderer/render_view_impl.h » ('j') | content/renderer/render_view_impl.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index a1d3c73f8c1b7b7ec15105a08ffadcf992be84c7..735f5db7299e13c9cc9d9b0cf2d7e8bcb0204636 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -981,10 +981,29 @@ 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_SetComposingRegion,
+ int /* start */,
+ int /* end */,
+ std::vector<WebKit::WebCompositionUnderline> /* underlines */)
+
+// Deletes characters before and after the current editing point (caret).
+IPC_MESSAGE_ROUTED2(ViewMsg_DeleteSurroundingText,
+ int /* before */,
+ int /* after */)
+
// Requests the renderer to select the region between two points.
IPC_MESSAGE_ROUTED2(ViewMsg_SelectRange,
gfx::Point /* start */,
« no previous file with comments | « no previous file | content/renderer/render_view_impl.h » ('j') | content/renderer/render_view_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698