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

Unified Diff: third_party/WebKit/Source/web/WebInputMethodControllerImpl.h

Issue 2592953003: Revert of [refactor] - Move textInputInfo() and textInputType() from WebWidget to WebInputMethodController (Closed)
Patch Set: Created 4 years 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/web/WebInputMethodControllerImpl.h
diff --git a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
index 99488a97877603ffbcaa33907c38b34d0df13eb9..33fcfdbcbf07b06907aa74d5a1bc6f734a3c8dc4 100644
--- a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
+++ b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
@@ -31,11 +31,16 @@
const WebVector<WebCompositionUnderline>& underlines,
int selectionStart,
int selectionEnd) override;
+
+ // Used to ask the WebInputMethodController to either delete and ongoing
+ // composition, or insert the specified text, or move the caret according to
+ // relativeCaretPosition.
bool commitText(const WebString& text, int relativeCaretPosition) override;
+
+ // Called to ask the WebInputMethodController to confirm an ongoing
+ // composition.
bool finishComposingText(
ConfirmCompositionBehavior selectionBehavior) override;
- WebTextInputInfo textInputInfo() override;
- WebTextInputType textInputType() override;
void setSuppressNextKeypressEvent(bool suppress) {
m_suppressNextKeypressEvent = suppress;
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698