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

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

Issue 3165064: Move the keyboard files from base/ to app/. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: latest merge Created 10 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
Index: chrome/browser/chromeos/login/new_user_view.cc
diff --git a/chrome/browser/chromeos/login/new_user_view.cc b/chrome/browser/chromeos/login/new_user_view.cc
index 6e1e3417666011c2a4aecb28eaf8afec7deb4f43..995b41b7f27c1cf7e5c854cb80ef7afebeab7e23 100644
--- a/chrome/browser/chromeos/login/new_user_view.cc
+++ b/chrome/browser/chromeos/login/new_user_view.cc
@@ -10,11 +10,11 @@
#include <algorithm>
#include <vector>
+#include "app/keyboard_codes.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "base/callback.h"
#include "base/command_line.h"
-#include "base/keyboard_codes.h"
#include "base/logging.h"
#include "base/message_loop.h"
#include "base/process_util.h"
@@ -82,8 +82,8 @@ NewUserView::NewUserView(Delegate* delegate, bool need_border)
browse_without_signin_link_(NULL),
languages_menubutton_(NULL),
throbber_(NULL),
- accel_focus_user_(views::Accelerator(base::VKEY_U, false, false, true)),
- accel_focus_pass_(views::Accelerator(base::VKEY_P, false, false, true)),
+ accel_focus_user_(views::Accelerator(app::VKEY_U, false, false, true)),
+ accel_focus_pass_(views::Accelerator(app::VKEY_P, false, false, true)),
delegate_(delegate),
ALLOW_THIS_IN_INITIALIZER_LIST(focus_grabber_factory_(this)),
focus_delayed_(false),
@@ -387,11 +387,11 @@ bool NewUserView::HandleKeystroke(views::Textfield* s,
if (!CrosLibrary::Get()->EnsureLoaded() || login_in_process_)
return false;
- if (keystroke.GetKeyboardCode() == base::VKEY_RETURN) {
+ if (keystroke.GetKeyboardCode() == app::VKEY_RETURN) {
Login();
// Return true so that processing ends
return true;
- } else if (keystroke.GetKeyboardCode() == base::VKEY_LEFT) {
+ } else if (keystroke.GetKeyboardCode() == app::VKEY_LEFT) {
if (s == username_field_ &&
username_field_->text().empty() &&
password_field_->text().empty()) {
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_view.cc ('k') | chrome/browser/chromeos/login/password_changed_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698