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/update_view.h" | 5 #include "chrome/browser/chromeos/login/update_view.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "app/resource_bundle.h" | |
11 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
12 #include "chrome/browser/chromeos/login/helper.h" | 11 #include "chrome/browser/chromeos/login/helper.h" |
13 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" | 12 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" |
14 #include "chrome/browser/chromeos/login/update_screen.h" | 13 #include "chrome/browser/chromeos/login/update_screen.h" |
15 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" | 14 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" |
16 #include "grit/chromium_strings.h" | 15 #include "grit/chromium_strings.h" |
17 #include "grit/generated_resources.h" | 16 #include "grit/generated_resources.h" |
| 17 #include "ui/base/resource/resource_bundle.h" |
18 #include "views/border.h" | 18 #include "views/border.h" |
19 #include "views/controls/label.h" | 19 #include "views/controls/label.h" |
20 #include "views/controls/progress_bar.h" | 20 #include "views/controls/progress_bar.h" |
21 #include "views/controls/throbber.h" | 21 #include "views/controls/throbber.h" |
22 #include "views/focus/focus_manager.h" | 22 #include "views/focus/focus_manager.h" |
23 #include "views/widget/widget.h" | 23 #include "views/widget/widget.h" |
24 | 24 |
25 using views::Background; | 25 using views::Background; |
26 using views::Label; | 26 using views::Label; |
27 using views::View; | 27 using views::View; |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 checking_label_->SetVisible(show_curtain_); | 224 checking_label_->SetVisible(show_curtain_); |
225 throbber_->SetVisible(show_curtain_); | 225 throbber_->SetVisible(show_curtain_); |
226 if (show_curtain_) { | 226 if (show_curtain_) { |
227 throbber_->Start(); | 227 throbber_->Start(); |
228 } else { | 228 } else { |
229 throbber_->Stop(); | 229 throbber_->Stop(); |
230 } | 230 } |
231 } | 231 } |
232 | 232 |
233 } // namespace chromeos | 233 } // namespace chromeos |
OLD | NEW |