Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: views/ime/input_method_win.h

Issue 8294026: Support IMM32 reconversion on Windows (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Remove unused header file Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698