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

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: add some comment 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 e83a77bac4e471b08e4879ae92d2fa025a397621..adb5058674281c7aa7512b60c3ed85c0581c1b1b 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