Index: ui/base/ime/input_method_imm32.h |
diff --git a/ui/base/ime/input_method_imm32.h b/ui/base/ime/input_method_imm32.h |
old mode 100644 |
new mode 100755 |
index 83cc99a243c368995c132ccca6858a3b6ab143a5..a099e9ce77886da3da40d39a9ed74da01a64af05 |
--- a/ui/base/ime/input_method_imm32.h |
+++ b/ui/base/ime/input_method_imm32.h |
@@ -30,6 +30,7 @@ class UI_EXPORT InputMethodIMM32 : public InputMethodWin { |
virtual void OnCaretBoundsChanged(const TextInputClient* client) OVERRIDE; |
virtual void CancelComposition(const TextInputClient* client) OVERRIDE; |
virtual void SetFocusedTextInputClient(TextInputClient* client) OVERRIDE; |
+ virtual bool IsPopupOpen() const OVERRIDE; |
protected: |
// Overridden from InputMethodBase: |
@@ -55,6 +56,10 @@ class UI_EXPORT InputMethodIMM32 : public InputMethodWin { |
WPARAM wparam, |
LPARAM lparam, |
BOOL* handled); |
+ LRESULT OnImeNotify(UINT message, |
+ WPARAM wparam, |
+ LPARAM lparam, |
+ BOOL* handled); |
// Asks the client to confirm current composition text. |
void ConfirmCompositionText(); |
@@ -64,6 +69,10 @@ class UI_EXPORT InputMethodIMM32 : public InputMethodWin { |
bool enabled_; |
+ // True if a candidate window (or IME suggest, etc.) is open. |
+ // False if not or unsure. |
+ bool is_popup_open_; |
+ |
DISALLOW_COPY_AND_ASSIGN(InputMethodIMM32); |
}; |