OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
8 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" | 8 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" |
9 #include "chrome/browser/chromeos/login/textfield_with_margin.h" | 9 #include "chrome/browser/chromeos/login/textfield_with_margin.h" |
10 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" | 10 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" |
11 #include "grit/generated_resources.h" | 11 #include "grit/generated_resources.h" |
12 #include "grit/locale_settings.h" | 12 #include "grit/locale_settings.h" |
13 #include "ui/base/keycodes/keyboard_codes.h" | 13 #include "ui/base/keycodes/keyboard_codes.h" |
14 #include "ui/base/l10n/l10n_util.h" | 14 #include "ui/base/l10n/l10n_util.h" |
15 #include "ui/base/resource/resource_bundle.h" | 15 #include "ui/base/resource/resource_bundle.h" |
16 #include "ui/views/layout/grid_layout.h" | 16 #include "ui/views/layout/grid_layout.h" |
17 #include "ui/views/layout/layout_constants.h" | 17 #include "ui/views/layout/layout_constants.h" |
18 #include "ui/views/widget/widget.h" | |
19 #include "views/controls/button/radio_button.h" | 18 #include "views/controls/button/radio_button.h" |
20 #include "views/controls/label.h" | 19 #include "views/controls/label.h" |
21 #include "views/controls/textfield/textfield.h" | 20 #include "views/controls/textfield/textfield.h" |
| 21 #include "views/widget/widget.h" |
22 | 22 |
23 using views::Button; | 23 using views::Button; |
24 using views::GridLayout; | 24 using views::GridLayout; |
25 using views::Label; | 25 using views::Label; |
26 using views::RadioButton; | 26 using views::RadioButton; |
27 using views::Textfield; | 27 using views::Textfield; |
28 | 28 |
29 namespace chromeos { | 29 namespace chromeos { |
30 | 30 |
31 namespace { | 31 namespace { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 old_password_field_->RequestFocus(); | 195 old_password_field_->RequestFocus(); |
196 } | 196 } |
197 } | 197 } |
198 | 198 |
199 bool PasswordChangedView::HandleKeyEvent(views::Textfield* sender, | 199 bool PasswordChangedView::HandleKeyEvent(views::Textfield* sender, |
200 const views::KeyEvent& keystroke) { | 200 const views::KeyEvent& keystroke) { |
201 return false; | 201 return false; |
202 } | 202 } |
203 | 203 |
204 } // namespace chromeos | 204 } // namespace chromeos |
OLD | NEW |