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

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

Issue 2427433002: Workaround for setComposition styling clobber (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/InputMethodController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 13b92e97b4faa366b14c05f4f72d62025dd117ee..2c3e1b1146afe7c071c63f83fb7598c66a205f37 100644
--- a/third_party/WebKit/Source/core/editing/InputMethodController.h
+++ b/third_party/WebKit/Source/core/editing/InputMethodController.h
@@ -127,6 +127,14 @@ class CORE_EXPORT InputMethodController final
// Returns true if moved caret successfully.
bool moveCaret(int newCaretPosition);
+
+ PlainTextRange createSelectionRangeForSetComposition(int selectionStart,
+ int selectionEnd,
+ size_t textLength) const;
+ void setCompositionWithIncrementalText(const String&,
+ const Vector<CompositionUnderline>&,
+ int selectionStart,
+ int selectionEnd);
};
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/InputMethodController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698