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

Side by Side Diff: chrome/browser/chromeos/login/update_view.cc

Issue 7039042: [cros] update screen re-factoring pt.1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed the years Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 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/update_view.h" 5 #include "chrome/browser/chromeos/login/update_view.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/chromeos/login/helper.h" 10 #include "chrome/browser/chromeos/login/helper.h"
11 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" 11 #include "chrome/browser/chromeos/login/rounded_rect_painter.h"
12 #include "chrome/browser/chromeos/login/update_screen.h"
13 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" 12 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h"
14 #include "grit/chromium_strings.h" 13 #include "grit/chromium_strings.h"
15 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
16 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
17 #include "ui/base/resource/resource_bundle.h" 16 #include "ui/base/resource/resource_bundle.h"
18 #include "views/border.h" 17 #include "views/border.h"
19 #include "views/controls/label.h" 18 #include "views/controls/label.h"
20 #include "views/controls/progress_bar.h" 19 #include "views/controls/progress_bar.h"
21 #include "views/controls/throbber.h" 20 #include "views/controls/throbber.h"
22 #include "views/focus/focus_manager.h" 21 #include "views/focus/focus_manager.h"
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 checking_label_->SetVisible(show_curtain_); 218 checking_label_->SetVisible(show_curtain_);
220 throbber_->SetVisible(show_curtain_); 219 throbber_->SetVisible(show_curtain_);
221 if (show_curtain_) { 220 if (show_curtain_) {
222 throbber_->Start(); 221 throbber_->Start();
223 } else { 222 } else {
224 throbber_->Stop(); 223 throbber_->Stop();
225 } 224 }
226 } 225 }
227 226
228 } // namespace chromeos 227 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/update_view.h ('k') | chrome/browser/chromeos/login/views_update_screen_actor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698