| Index: chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| old mode 100644
|
| new mode 100755
|
| index c1ba44c4ada92a277c4f46733065852bf3a64f25..fa292d1860277fd750fcf055467a1a0a04762d4c
|
| --- a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| +++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
|
| @@ -585,10 +585,9 @@ bool OmniboxViewViews::IsImeShowingPopup() const {
|
| #if defined(OS_CHROMEOS)
|
| return ime_candidate_window_open_;
|
| #else
|
| - // TODO(yukishiino): Implement detection of candidate windows on Windows.
|
| - // We can detect whether any candidate window is open or not on Windows.
|
| - // Currently we simply fall back to IsImeComposing() as a second best way.
|
| - return IsImeComposing();
|
| + views::InputMethod* input_method =
|
| + const_cast<OmniboxViewViews*>(this)->GetInputMethod();
|
| + return input_method && input_method->IsPopupOpen();
|
| #endif
|
| }
|
|
|
|
|