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

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

Issue 2372493002: Workaround for setComposition styling clobber (Closed)
Patch Set: Address changwan@'s review Created 4 years, 3 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 45cb715a0092acba96107a909f9e88c68717d29c..1238c78bf75c9f52d83f4848d09d7837894b09f7 100644
--- a/third_party/WebKit/Source/core/editing/InputMethodController.h
+++ b/third_party/WebKit/Source/core/editing/InputMethodController.h
@@ -115,6 +115,9 @@ private:
// Returns true if moved caret successfully.
bool moveCaret(int newCaretPosition);
+
+ size_t computeCommonGraphemeClusterPrefixLengthForSetComposition(const String& newText) const;
yosin_UTC9 2016/10/04 09:00:05 Do we really need to have |computeCommonGraphemeCl
yabinh 2016/10/11 01:42:22 Done.
+ PlainTextRange createSelectionRangeForSetComposition(int selectionStart, int selectionEnd, size_t textLength) const;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698