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

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

Issue 2508363003: [refactor] - Move textInputInfo() and textInputType() from WebWidget to WebInputMethodController (Closed)
Patch Set: Fixed Rebase 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 33fcfdbcbf07b06907aa74d5a1bc6f734a3c8dc4..99488a97877603ffbcaa33907c38b34d0df13eb9 100644
--- a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
+++ b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.h
@@ -31,16 +31,11 @@ class WebInputMethodControllerImpl : public WebInputMethodController {
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