Index: ui/views/ime/input_method_win.h |
diff --git a/ui/views/ime/input_method_win.h b/ui/views/ime/input_method_win.h |
old mode 100644 |
new mode 100755 |
index d2347c27cf9330eaa94875e92f6b017ccf5c2211..84c804eccb7518fc7df68d483c1b139f321e285e |
--- a/ui/views/ime/input_method_win.h |
+++ b/ui/views/ime/input_method_win.h |
@@ -44,6 +44,7 @@ class InputMethodWin : public InputMethodBase { |
virtual std::string GetInputLocale() OVERRIDE; |
virtual base::i18n::TextDirection GetInputTextDirection() OVERRIDE; |
virtual bool IsActive() OVERRIDE; |
+ virtual bool IsCandidatePopupOpen() const OVERRIDE; |
// Overridden from InputMethodBase. |
virtual ui::TextInputClient* GetTextInputClient() const OVERRIDE; |
@@ -59,6 +60,8 @@ class InputMethodWin : public InputMethodBase { |
UINT message, WPARAM wparam, LPARAM lparam, BOOL* handled); |
LRESULT OnImeRequest( |
UINT message, WPARAM wparam, LPARAM lparam, BOOL* handled); |
+ LRESULT OnImeNotify( |
+ UINT message, WPARAM wparam, LPARAM lparam, BOOL* handled); |
// For both WM_CHAR and WM_SYSCHAR |
LRESULT OnChar( |
UINT message, WPARAM wparam, LPARAM lparam, BOOL* handled); |
@@ -86,6 +89,9 @@ class InputMethodWin : public InputMethodBase { |
// Indicates if the current input locale has an IME. |
bool active_; |
+ // True if we know for sure that a candidate window is open. |
+ bool is_candidate_popup_open_; |
+ |
// Name of the current input locale. |
std::string locale_; |