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

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

Issue 10825254: Remove views::KeyEvent, replacing uses of it with ui::KeyEvent. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | « ui/views/focus/focus_manager_unittest_win.cc ('k') | ui/views/ime/input_method_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/ime/input_method.h
===================================================================
--- ui/views/ime/input_method.h (revision 150588)
+++ ui/views/ime/input_method.h (working copy)
@@ -13,6 +13,7 @@
#include "ui/views/views_export.h"
namespace ui {
+class KeyEvent;
class TextInputClient;
} // namespace ui
@@ -22,7 +23,6 @@
class InputMethodDelegate;
} // namespace internal
-class KeyEvent;
class View;
class Widget;
@@ -60,7 +60,7 @@
// it's processed by the input method. It should only be called by the
// top-level NativeWidget which owns this InputMethod instance, or other
// related platform dependent code, such as a message dispatcher.
- virtual void DispatchKeyEvent(const KeyEvent& key) = 0;
+ virtual void DispatchKeyEvent(const ui::KeyEvent& key) = 0;
// Called by the focused |view| whenever its text input type is changed.
// Before calling this method, the focused |view| must confirm or clear
« no previous file with comments | « ui/views/focus/focus_manager_unittest_win.cc ('k') | ui/views/ime/input_method_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698