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

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

Issue 3442011: Enabling access notifications for login wizard (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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/password_changed_view.cc
===================================================================
--- chrome/browser/chromeos/login/password_changed_view.cc (revision 60696)
+++ chrome/browser/chromeos/login/password_changed_view.cc (working copy)
@@ -9,6 +9,7 @@
#include "app/resource_bundle.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/chromeos/login/rounded_rect_painter.h"
+#include "chrome/browser/chromeos/login/wizard_accessibility_helper.h"
#include "grit/generated_resources.h"
#include "grit/locale_settings.h"
#include "views/controls/button/radio_button.h"
@@ -60,8 +61,10 @@
void PasswordChangedView::ViewHierarchyChanged(bool is_add,
views::View* parent,
views::View* child) {
- if (is_add && child == this)
+ if (is_add && child == this) {
Init();
+ WizardAccessibilityHelper::GetInstance()->MaybeEnableAccessibility(this);
+ }
}
void PasswordChangedView::Init() {

Powered by Google App Engine
This is Rietveld 408576698