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

Unified Diff: ui/views/ime/input_method_win.h

Issue 10911317: KeyEvent work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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
« no previous file with comments | « no previous file | ui/views/ime/input_method_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | ui/views/ime/input_method_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698