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

Unified Diff: ui/views/controls/textfield/native_textfield_wrapper.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/controls/textfield/native_textfield_win.cc ('k') | ui/views/controls/textfield/textfield.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/native_textfield_wrapper.h
===================================================================
--- ui/views/controls/textfield/native_textfield_wrapper.h (revision 150588)
+++ ui/views/controls/textfield/native_textfield_wrapper.h (working copy)
@@ -16,13 +16,13 @@
} // namespace gfx
namespace ui {
+class KeyEvent;
class Range;
class TextInputClient;
} // namespace ui
namespace views {
-class KeyEvent;
class Textfield;
class View;
@@ -125,8 +125,8 @@
// should return true if the event has been processed and false
// otherwise.
// See also View::OnKeyPressed/OnKeyReleased.
- virtual bool HandleKeyPressed(const views::KeyEvent& e) = 0;
- virtual bool HandleKeyReleased(const views::KeyEvent& e) = 0;
+ virtual bool HandleKeyPressed(const ui::KeyEvent& e) = 0;
+ virtual bool HandleKeyReleased(const ui::KeyEvent& e) = 0;
// Invoked when focus is being moved from or to the Textfield.
// See also View::OnFocus/OnBlur.
« no previous file with comments | « ui/views/controls/textfield/native_textfield_win.cc ('k') | ui/views/controls/textfield/textfield.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698