Chromium Code Reviews

Unified Diff: chrome/browser/chromeos/login/user_controller.cc

Issue 3337006: Revert 58388 - Revert 58215 - Revert 58186 - Move the keyboard files from bas... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/chromeos/login/user_controller.cc
===================================================================
--- chrome/browser/chromeos/login/user_controller.cc (revision 58389)
+++ chrome/browser/chromeos/login/user_controller.cc (working copy)
@@ -214,13 +214,13 @@
bool UserController::HandleKeystroke(
views::Textfield* sender,
const views::Textfield::Keystroke& keystroke) {
- if (keystroke.GetKeyboardCode() == app::VKEY_RETURN) {
+ if (keystroke.GetKeyboardCode() == base::VKEY_RETURN) {
Login();
return true;
- } else if (keystroke.GetKeyboardCode() == app::VKEY_LEFT) {
+ } else if (keystroke.GetKeyboardCode() == base::VKEY_LEFT) {
SelectUser(user_index() - 1);
return true;
- } else if (keystroke.GetKeyboardCode() == app::VKEY_RIGHT) {
+ } else if (keystroke.GetKeyboardCode() == base::VKEY_RIGHT) {
SelectUser(user_index() + 1);
return true;
}
« no previous file with comments | « chrome/browser/chromeos/login/update_view.cc ('k') | chrome/browser/chromeos/login/wizard_accessibility_helper.h » ('j') | no next file with comments »

Powered by Google App Engine