Chromium Code Reviews| Index: views/ime/input_method_win.h |
| diff --git a/views/ime/input_method_win.h b/views/ime/input_method_win.h |
| index d91750801bf2d6768e41743ff31675c28e233e1a..b196154ecd34f23dfa91078af30df81b245d0fbc 100644 |
| --- a/views/ime/input_method_win.h |
| +++ b/views/ime/input_method_win.h |
| @@ -17,6 +17,10 @@ |
| #include "views/view.h" |
| #include "views/widget/widget.h" |
| +namespace ui { |
| +class Range; |
| +}; |
|
James Su
2011/10/25 19:15:03
This forward declaration is not necessary.
Peng
2011/10/25 22:01:21
Done.
|
| + |
| namespace views { |
| // An InputMethod implementation based on Windows IMM32 API. |
| @@ -54,6 +58,8 @@ class InputMethodWin : public InputMethodBase { |
| UINT message, WPARAM wparam, LPARAM lparam, BOOL* handled); |
| LRESULT OnImeEndComposition( |
| UINT message, WPARAM wparam, LPARAM lparam, BOOL* handled); |
| + LRESULT OnImeRequest( |
| + 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); |
| @@ -61,6 +67,8 @@ class InputMethodWin : public InputMethodBase { |
| LRESULT OnDeadChar( |
| UINT message, WPARAM wparam, LPARAM lparam, BOOL* handled); |
| + LRESULT OnReconvertString(RECONVERTSTRING *reconv); |
| + LRESULT OnDocumentFeed(RECONVERTSTRING *reconv); |
| // Overridden from InputMethodBase. |
| virtual void FocusedViewWillChange() OVERRIDE; |