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 25bac6015059f3deb3e4f10ebcf32d6a36255536..a67d79681ce4b6a65c9a36754cffa09d1c583b58 |
--- 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 IsCandidatePopupOpen() const OVERRIDE; |
protected: |
// Overridden from InputMethodBase: |
@@ -59,6 +60,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(); |
@@ -72,6 +77,9 @@ class UI_EXPORT InputMethodIMM32 : public InputMethodWin { |
bool enabled_; |
+ // True if we know for sure that a candidate window is open. |
+ bool is_candidate_popup_open_; |
+ |
// Window handle where composition is on-going. NULL when there is no |
// composition. |
HWND composing_window_handle_; |