| Index: content/browser/renderer_host/render_widget_host_view_aura.cc
|
| diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| index 261278f41e864312101a6f23f7748481b62ed215..dd65dd8018d0ed214965488016c9f2ff4c5b9271 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
|
| @@ -647,6 +647,7 @@ RenderWidgetHostViewAura::RenderWidgetHostViewAura(RenderWidgetHost* host)
|
| popup_child_host_view_(NULL),
|
| is_loading_(false),
|
| text_input_type_(ui::TEXT_INPUT_TYPE_NONE),
|
| + text_input_mode_(ui::TEXT_INPUT_MODE_DEFAULT),
|
| can_compose_inline_(true),
|
| has_composition_text_(false),
|
| last_swapped_surface_scale_factor_(1.f),
|
| @@ -1043,8 +1044,10 @@ void RenderWidgetHostViewAura::TextInputTypeChanged(
|
| bool can_compose_inline,
|
| ui::TextInputMode input_mode) {
|
| if (text_input_type_ != type ||
|
| + text_input_mode_ != input_mode ||
|
| can_compose_inline_ != can_compose_inline) {
|
| text_input_type_ = type;
|
| + text_input_mode_ = input_mode;
|
| can_compose_inline_ = can_compose_inline;
|
| if (GetInputMethod())
|
| GetInputMethod()->OnTextInputTypeChanged(this);
|
| @@ -2184,7 +2187,7 @@ ui::TextInputType RenderWidgetHostViewAura::GetTextInputType() const {
|
| }
|
|
|
| ui::TextInputMode RenderWidgetHostViewAura::GetTextInputMode() const {
|
| - return ui::TEXT_INPUT_MODE_DEFAULT;
|
| + return text_input_mode_;
|
| }
|
|
|
| bool RenderWidgetHostViewAura::CanComposeInline() const {
|
|
|