OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/chromeos/login/password_changed_view.h" | 5 #include "chrome/browser/chromeos/login/password_changed_view.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "app/resource_bundle.h" | |
9 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" | 9 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" |
11 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" | 10 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" |
12 #include "grit/generated_resources.h" | 11 #include "grit/generated_resources.h" |
13 #include "grit/locale_settings.h" | 12 #include "grit/locale_settings.h" |
14 #include "ui/base/keycodes/keyboard_codes.h" | 13 #include "ui/base/keycodes/keyboard_codes.h" |
| 14 #include "ui/base/resource/resource_bundle.h" |
15 #include "views/controls/button/radio_button.h" | 15 #include "views/controls/button/radio_button.h" |
16 #include "views/controls/label.h" | 16 #include "views/controls/label.h" |
17 #include "views/grid_layout.h" | 17 #include "views/grid_layout.h" |
18 #include "views/standard_layout.h" | 18 #include "views/standard_layout.h" |
19 #include "views/window/window.h" | 19 #include "views/window/window.h" |
20 | 20 |
21 using views::Button; | 21 using views::Button; |
22 using views::GridLayout; | 22 using views::GridLayout; |
23 using views::Label; | 23 using views::Label; |
24 using views::RadioButton; | 24 using views::RadioButton; |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 if (sender == full_sync_radio_) { | 182 if (sender == full_sync_radio_) { |
183 old_password_field_->SetEnabled(false); | 183 old_password_field_->SetEnabled(false); |
184 old_password_field_->SetText(string16()); | 184 old_password_field_->SetText(string16()); |
185 } else if (sender == delta_sync_radio_) { | 185 } else if (sender == delta_sync_radio_) { |
186 old_password_field_->SetEnabled(true); | 186 old_password_field_->SetEnabled(true); |
187 old_password_field_->RequestFocus(); | 187 old_password_field_->RequestFocus(); |
188 } | 188 } |
189 } | 189 } |
190 | 190 |
191 } // namespace chromeos | 191 } // namespace chromeos |
OLD | NEW |