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

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

Issue 5839003: Fix to enable toggling accessibility using Ctrl+Alt+Z (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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 | « chrome/browser/chromeos/login/existing_user_view.h ('k') | chrome/browser/chromeos/login/guest_user_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/existing_user_view.cc
===================================================================
--- chrome/browser/chromeos/login/existing_user_view.cc (revision 69471)
+++ chrome/browser/chromeos/login/existing_user_view.cc (working copy)
@@ -60,10 +60,10 @@
password_field_(NULL),
accel_login_off_the_record_(
views::Accelerator(app::VKEY_B, false, false, true)),
- accel_enable_accessibility_(
+ accel_toggle_accessibility_(
WizardAccessibilityHelper::GetAccelerator()) {
AddAccelerator(accel_login_off_the_record_);
- AddAccelerator(accel_enable_accessibility_);
+ AddAccelerator(accel_toggle_accessibility_);
}
void ExistingUserView::RecreateFields() {
@@ -89,8 +89,8 @@
if (accelerator == accel_login_off_the_record_) {
user_controller_->OnLoginOffTheRecord();
return true;
- } else if (accelerator == accel_enable_accessibility_) {
- WizardAccessibilityHelper::GetInstance()->EnableAccessibility(this);
+ } else if (accelerator == accel_toggle_accessibility_) {
+ WizardAccessibilityHelper::GetInstance()->ToggleAccessibility(this);
return true;
}
return false;
« no previous file with comments | « chrome/browser/chromeos/login/existing_user_view.h ('k') | chrome/browser/chromeos/login/guest_user_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698