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

Unified Diff: content/browser/renderer_host/render_widget_host_view_win.cc

Issue 22401002: Add GetTextInputMode function to TextInputClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reorder declaration 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: content/browser/renderer_host/render_widget_host_view_win.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc
index 9096e37df19d1b1213530d9eb7d9f5d9c16b10c8..c442a826266f47f9ec3431d1f22eca6e10e84617 100644
--- a/content/browser/renderer_host/render_widget_host_view_win.cc
+++ b/content/browser/renderer_host/render_widget_host_view_win.cc
@@ -1038,6 +1038,14 @@ ui::TextInputType RenderWidgetHostViewWin::GetTextInputType() const {
return text_input_type_;
}
+ui::TextInputMode RenderWidgetHostViewWin::GetTextInputMode() const {
+ if (!base::win::IsTSFAwareRequired()) {
+ NOTREACHED();
+ return ui::TEXT_INPUT_MODE_DEFAULT;
+ }
+ return ui::TEXT_INPUT_MODE_DEFAULT;
+}
+
bool RenderWidgetHostViewWin::CanComposeInline() const {
if (!base::win::IsTSFAwareRequired()) {
NOTREACHED();
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.h ('k') | ui/base/ime/input_method_ibus_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698