Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/core/editing/InputMethodController.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.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/core/editing/InputMethodController.h
diff --git a/third_party/WebKit/Source/core/editing/InputMethodController.h b/third_party/WebKit/Source/core/editing/InputMethodController.h
index c605caf22661c9ae279c6ff2e9a747fc086683af..232679938f76160702030768e77dc4ed6b700ec6 100644
--- a/third_party/WebKit/Source/core/editing/InputMethodController.h
+++ b/third_party/WebKit/Source/core/editing/InputMethodController.h
@@ -79,6 +79,7 @@ public:
// Returns true if setting selection to specified offsets, otherwise false.
bool setEditableSelectionOffsets(const PlainTextRange&);
void extendSelectionAndDelete(int before, int after);
+ void deleteSurroundingText(int before, int after);
private:
class SelectionOffsetsScope {

Powered by Google App Engine