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

Unified Diff: views/ime/input_method_win.h

Issue 6823055: Consolidate OnKeyEvent and InputMethod code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactor X2Event handling, nix Windows InputMethodDelegate, etc. Created 9 years, 8 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 84b0ba54db13e7d48017fa9685308ae883edb725..bee1a310251a050db9570104ad2d0a0f88b3381b 100644
--- a/views/ime/input_method_win.h
+++ b/views/ime/input_method_win.h
@@ -22,14 +22,14 @@ namespace views {
// An InputMethod implementation based on Windows IMM32 API.
class InputMethodWin : public InputMethodBase {
public:
- explicit InputMethodWin(internal::InputMethodDelegate* delegate);
+ InputMethodWin();
virtual ~InputMethodWin();
// Overridden from InputMethod:
virtual void Init(Widget* widget) OVERRIDE;
virtual void OnFocus() OVERRIDE;
virtual void OnBlur() OVERRIDE;
- virtual void DispatchKeyEvent(const KeyEvent& key) OVERRIDE;
+ virtual bool OnKeyEvent(const KeyEvent& key) OVERRIDE;
virtual void OnTextInputTypeChanged(View* view) OVERRIDE;
virtual void OnCaretBoundsChanged(View* view) OVERRIDE;
virtual void CancelComposition(View* view) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698