| Index: ui/views/ime/input_method_win.h
|
| ===================================================================
|
| --- ui/views/ime/input_method_win.h (revision 156802)
|
| +++ ui/views/ime/input_method_win.h (working copy)
|
| @@ -21,7 +21,7 @@
|
| // An InputMethod implementation based on Windows IMM32 API.
|
| class InputMethodWin : public InputMethodBase {
|
| public:
|
| - explicit InputMethodWin(internal::InputMethodDelegate* delegate);
|
| + InputMethodWin(internal::InputMethodDelegate* delegate, HWND hwnd);
|
| virtual ~InputMethodWin();
|
|
|
| // Overridden from InputMethod:
|
| @@ -69,15 +69,15 @@
|
| virtual void OnWillChangeFocus(View* focused_before, View* focused) OVERRIDE;
|
| virtual void OnDidChangeFocus(View* focused_before, View* focused) OVERRIDE;
|
|
|
| - // A helper function to return the Widget's native window.
|
| - HWND hwnd() const { return widget()->GetNativeView(); }
|
| -
|
| // Asks the client to confirm current composition text.
|
| void ConfirmCompositionText();
|
|
|
| // Enables or disables the IME according to the current text input type.
|
| void UpdateIMEState();
|
|
|
| + // The HWND this InputMethod is bound to.
|
| + HWND hwnd_;
|
| +
|
| // Indicates if the current input locale has an IME.
|
| bool active_;
|
|
|
|
|