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

Unified Diff: views/ime/mock_input_method.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/mock_input_method.h
diff --git a/views/ime/mock_input_method.h b/views/ime/mock_input_method.h
index 3a1dffb4000a9150bb9b838dfa442ae0b04d77c1..fa1dafecca5c70ccd86acd2120c50759539f96b4 100644
--- a/views/ime/mock_input_method.h
+++ b/views/ime/mock_input_method.h
@@ -21,7 +21,7 @@ class MockInputMethod : public InputMethodBase {
// Overridden from InputMethod:
virtual void Init(Widget* widget) 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