Index: ui/views/ime/input_method_bridge.cc |
diff --git a/ui/views/ime/input_method_bridge.cc b/ui/views/ime/input_method_bridge.cc |
index b6106d8962c49d026c227596c37333576e032d36..5fc7fde3d77e7a0f36850ac2d3e1ad85b6e6c06c 100644 |
--- a/ui/views/ime/input_method_bridge.cc |
+++ b/ui/views/ime/input_method_bridge.cc |
@@ -33,6 +33,7 @@ class InputMethodBridge::HostObserver : public ui::InputMethodObserver { |
const ui::TextInputClient* client) OVERRIDE {} |
virtual void OnInputMethodDestroyed( |
const ui::InputMethod* input_method) OVERRIDE; |
+ virtual void OnShowImeIfNeeded() OVERRIDE {} |
private: |
InputMethodBridge* bridge_; |
@@ -171,6 +172,11 @@ bool InputMethodBridge::IsCandidatePopupOpen() const { |
return host_->IsCandidatePopupOpen(); |
} |
+void InputMethodBridge::ShowImeIfNeeded() { |
+ DCHECK(host_); |
+ host_->ShowImeIfNeeded(); |
+} |
+ |
// Overridden from TextInputClient. Forward an event from the system-wide IME |
// to the text input |client|, which is e.g. views::Textfield. |
void InputMethodBridge::SetCompositionText( |