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

Unified Diff: ui/views/view.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/view.h ('k') | ui/views/view_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.cc
===================================================================
--- ui/views/view.cc (revision 150588)
+++ ui/views/view.cc (working copy)
@@ -833,11 +833,11 @@
parent_->SetMouseHandler(new_mouse_handler);
}
-bool View::OnKeyPressed(const KeyEvent& event) {
+bool View::OnKeyPressed(const ui::KeyEvent& event) {
return false;
}
-bool View::OnKeyReleased(const KeyEvent& event) {
+bool View::OnKeyReleased(const ui::KeyEvent& event) {
return false;
}
@@ -960,7 +960,7 @@
focus_manager->SetFocusedView(this);
}
-bool View::SkipDefaultKeyEventProcessing(const KeyEvent& event) {
+bool View::SkipDefaultKeyEventProcessing(const ui::KeyEvent& event) {
return false;
}
« no previous file with comments | « ui/views/view.h ('k') | ui/views/view_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698