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

Unified Diff: ui/views/examples/textfield_example.cc

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/examples/textfield_example.h ('k') | ui/views/focus/accelerator_handler_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/textfield_example.cc
===================================================================
--- ui/views/examples/textfield_example.cc (revision 150588)
+++ ui/views/examples/textfield_example.cc (working copy)
@@ -5,6 +5,7 @@
#include "ui/views/examples/textfield_example.h"
#include "base/utf_string_conversions.h"
+#include "ui/base/event.h"
#include "ui/base/range/range.h"
#include "ui/gfx/render_text.h"
#include "ui/views/controls/label.h"
@@ -69,7 +70,7 @@
}
bool TextfieldExample::HandleKeyEvent(Textfield* sender,
- const KeyEvent& key_event) {
+ const ui::KeyEvent& key_event) {
return false;
}
« no previous file with comments | « ui/views/examples/textfield_example.h ('k') | ui/views/focus/accelerator_handler_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698