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..61297151d39204ec7f1412675f154f6f710e9d95 |
--- 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 IsPopupOpen() 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,10 @@ class InputMethodWin : public InputMethodBase { |
// Indicates if the current input locale has an IME. |
bool active_; |
+ // True if a candidate window (or IME suggest, etc.) is open. |
+ // False if not or unsure. |
+ bool is_popup_open_; |
+ |
// Name of the current input locale. |
std::string locale_; |