Index: content/browser/renderer_host/render_widget_host_view_base.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_base.cc b/content/browser/renderer_host/render_widget_host_view_base.cc |
index c4b9d14c8d71540e0479b99ab99c7b6b64482688..0b34ce08789a322dc1894a812d809c1ec9ffeab9 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_base.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_base.cc |
@@ -403,14 +403,21 @@ void RenderWidgetHostViewBase::TransformPointToLocalCoordSpace( |
void RenderWidgetHostViewBase::TextInputStateChanged( |
const TextInputState& text_input_state) { |
-// TODO(ekaramad): Use TextInputManager code paths when IME is implemented on |
-// other platforms. |
+// TODO(ekaramad): Use TextInputManager code paths for IME on other platforms. |
#if defined(USE_AURA) |
if (GetTextInputManager()) |
GetTextInputManager()->UpdateTextInputState(this, text_input_state); |
#endif |
} |
+void RenderWidgetHostViewBase::ImeCancelComposition() { |
+// TODO(ekaramad): Use TextInputManager code paths for IME on other platforms. |
+#if defined(USE_AURA) |
+ if (GetTextInputManager()) |
+ GetTextInputManager()->ImeCancelComposition(this); |
+#endif |
+} |
+ |
TextInputManager* RenderWidgetHostViewBase::GetTextInputManager() { |
if (text_input_manager_) |
return text_input_manager_; |