Index: ui/views/controls/combobox/combobox.cc |
diff --git a/ui/views/controls/combobox/combobox.cc b/ui/views/controls/combobox/combobox.cc |
index 4c107886234848a180f2f8f35f684d9d6307249c..c78c59f599ddeb71f9af3331061a43ce8ce5c2c7 100644 |
--- a/ui/views/controls/combobox/combobox.cc |
+++ b/ui/views/controls/combobox/combobox.cc |
@@ -14,6 +14,7 @@ |
#include "ui/views/controls/combobox/combobox_listener.h" |
#include "ui/views/controls/native/native_view_host.h" |
#include "ui/views/controls/prefix_selector.h" |
+#include "ui/views/ime/input_method.h" |
#include "ui/views/widget/widget.h" |
namespace views { |
@@ -140,6 +141,8 @@ bool Combobox::OnKeyReleased(const ui::KeyEvent& e) { |
} |
void Combobox::OnFocus() { |
+ if (GetInputMethod()) |
+ GetInputMethod()->OnFocus(); |
// Forward the focus to the wrapper. |
if (native_wrapper_) { |
native_wrapper_->SetFocus(); |
@@ -151,6 +154,8 @@ void Combobox::OnFocus() { |
} |
void Combobox::OnBlur() { |
+ if (GetInputMethod()) |
+ GetInputMethod()->OnBlur(); |
if (selector_) |
selector_->OnViewBlur(); |
if (native_wrapper_) |