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

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

Issue 7039042: [cros] update screen re-factoring pt.1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix for mocks 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/chromeos/login/update_screen_views_actor.h"
6
7 namespace chromeos {
8
9 UpdateScreenViewsActor::UpdateScreenViewsActor(WizardScreenDelegate* delegate,
10 int width,
11 int height)
12 : DefaultViewScreen<chromeos::UpdateView>(delegate, width, height) {
13 }
14
15 void UpdateScreenViewsActor::Show() {
16 DefaultViewScreen<chromeos::UpdateView>::Show();
17 }
18
19 void UpdateScreenViewsActor::Hide() {
20 DefaultViewScreen<chromeos::UpdateView>::Hide();
21 }
22
23 void UpdateScreenViewsActor::ShowManualRebootInfo() {
24 view()->ShowManualRebootInfo();
25 }
26
27 void UpdateScreenViewsActor::SetProgress(int progress) {
28 view()->SetProgress(progress);
29 }
30
31 void UpdateScreenViewsActor::ShowCurtain(bool enable) {
32 view()->ShowCurtain(enable);
33 }
34
35 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698