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

Unified Diff: content/common/input_messages.h

Issue 1889053003: Fix InputConnection.deleteSurroundingText() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/input_messages.h
diff --git a/content/common/input_messages.h b/content/common/input_messages.h
index 2a4b5211da7ec165d8202c32d5bf498635da2f52..c876a0f6bcc0aebc18bf100ece2322c0fc5eeae7 100644
--- a/content/common/input_messages.h
+++ b/content/common/input_messages.h
@@ -151,6 +151,12 @@ IPC_MESSAGE_ROUTED2(InputMsg_ExtendSelectionAndDelete,
int /* before */,
int /* after */)
+// Deletes text before and after the current cursor position, excluding the
+// selection.
+IPC_MESSAGE_ROUTED2(InputMsg_DeleteSurroundingText,
+ int /* before */,
+ int /* after */)
+
// This message sends a string being composed with an input method.
IPC_MESSAGE_ROUTED5(
InputMsg_ImeSetComposition,

Powered by Google App Engine
This is Rietveld 408576698