Index: content/browser/renderer_host/render_widget_host_view_aura.h |
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.h b/content/browser/renderer_host/render_widget_host_view_aura.h |
index 6738131b5f928d369006aeeac6b0363b670a5b3e..a8e3d3c4e251aa917b6d2f789f10c35fb6182958 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_aura.h |
+++ b/content/browser/renderer_host/render_widget_host_view_aura.h |
@@ -43,6 +43,8 @@ |
#include "ui/gfx/geometry/rect.h" |
#include "ui/wm/public/activation_delegate.h" |
+struct ViewHostMsg_TextInputState_Params; |
+ |
namespace aura { |
class WindowTracker; |
namespace client { |
@@ -134,7 +136,8 @@ class CONTENT_EXPORT RenderWidgetHostViewAura |
void Focus() override; |
void UpdateCursor(const WebCursor& cursor) override; |
void SetIsLoading(bool is_loading) override; |
- void UpdateInputMethodIfNecessary(bool text_input_state_changed) override; |
+ void TextInputStateChanged( |
+ const ViewHostMsg_TextInputState_Params& params) override; |
void ImeCancelComposition() override; |
void ImeCompositionRangeChanged( |
const gfx::Range& range, |
@@ -565,6 +568,14 @@ class CONTENT_EXPORT RenderWidgetHostViewAura |
// object. |
ui::MotionEventAura pointer_state_; |
+ // The current text input type. |
+ ui::TextInputType text_input_type_; |
+ // The current text input mode corresponding to HTML5 inputmode attribute. |
+ ui::TextInputMode text_input_mode_; |
+ // The current text input flags. |
+ int text_input_flags_; |
+ bool can_compose_inline_; |
+ |
// Bounds for the selection. |
ui::SelectionBound selection_anchor_; |
ui::SelectionBound selection_focus_; |