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

Unified Diff: third_party/WebKit/Source/core/editing/InputMethodController.h

Issue 2020973002: Reland: Fix setComposingText with empty text when newCursorPosition != 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a unit test. Created 4 years, 7 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: 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 bf7e152cad58c360be8cf1e35fa5a88e6c2217de..20ec070f5a6b7eb2ef6cd8a3451fff776bd133a6 100644
--- a/third_party/WebKit/Source/core/editing/InputMethodController.h
+++ b/third_party/WebKit/Source/core/editing/InputMethodController.h
@@ -76,7 +76,7 @@ public:
PlainTextRange getSelectionOffsets() const;
// Returns true if setting selection to specified offsets, otherwise false.
- bool setEditableSelectionOffsets(const PlainTextRange&);
+ bool setEditableSelectionOffsets(int start, int end);
yosin_UTC9 2016/06/03 07:16:11 Could you explain benefit of you replace |PlaintTe
void extendSelectionAndDelete(int before, int after);
private:

Powered by Google App Engine
This is Rietveld 408576698