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

Unified Diff: ui/views/controls/textfield/native_textfield_views.cc

Issue 22401002: Add GetTextInputMode function to TextInputClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build failure on win Created 7 years, 4 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: ui/views/controls/textfield/native_textfield_views.cc
diff --git a/ui/views/controls/textfield/native_textfield_views.cc b/ui/views/controls/textfield/native_textfield_views.cc
index 2ac35aac75cf0d252946fd1bde4f53c96478ebe9..92f8a0946cfaae1948eb15c1f571c42fa57b127b 100644
--- a/ui/views/controls/textfield/native_textfield_views.cc
+++ b/ui/views/controls/textfield/native_textfield_views.cc
@@ -963,6 +963,10 @@ bool NativeTextfieldViews::CanComposeInline() const {
return true;
}
+ui::TextInputMode NativeTextfieldViews::GetTextInputMode() const {
+ return ui::TEXT_INPUT_MODE_DEFAULT;
+}
+
gfx::Rect NativeTextfieldViews::GetCaretBounds() {
// TextInputClient::GetCaretBounds is expected to return a value in screen
// coordinates.

Powered by Google App Engine
This is Rietveld 408576698