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

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

Issue 6312160: Map Views to Profiles directly from their window, eliminating the need... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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/guest_user_view.cc
===================================================================
--- chrome/browser/chromeos/login/guest_user_view.cc (revision 74020)
+++ chrome/browser/chromeos/login/guest_user_view.cc (working copy)
@@ -76,7 +76,7 @@
if (accelerator == accel_login_off_the_record_)
user_controller_->OnLoginAsGuest();
else if (accelerator == accel_toggle_accessibility_)
- WizardAccessibilityHelper::GetInstance()->ToggleAccessibility(this);
+ WizardAccessibilityHelper::GetInstance()->ToggleAccessibility();
else if (accelerator == accel_previous_pod_by_arrow_)
user_controller_->SelectUserRelative(-1);
else if (accelerator == accel_next_pod_by_arrow_)
@@ -100,13 +100,6 @@
submit_button_->SetEnabled(enabled);
}
-void GuestUserView::ViewHierarchyChanged(bool is_add,
- views::View* parent,
- views::View* child) {
- if (is_add && this == child)
- WizardAccessibilityHelper::GetInstance()->MaybeEnableAccessibility(this);
-}
-
void GuestUserView::OnLocaleChanged() {
RecreateFields();
}
« no previous file with comments | « chrome/browser/chromeos/login/guest_user_view.h ('k') | chrome/browser/chromeos/login/network_selection_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698