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

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

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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_VIEWS_ACTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_VIEWS_ACTOR_H_
7 #pragma once
8
9 #include "chrome/browser/chromeos/login/wizard_screen.h"
whywhat 2011/05/20 09:29:51 Sort includes
altimofeev 2011/05/20 12:00:32 Done.
10 #include "chrome/browser/chromeos/login/update_view.h"
11 #include "chrome/browser/chromeos/login/update_screen_actor.h"
12 #include "chrome/browser/chromeos/login/view_screen.h"
13
14 namespace chromeos {
15
16 class UpdateScreenViewsActor : public DefaultViewScreen<chromeos::UpdateView>,
17 public UpdateScreenActor {
18 public:
19 UpdateScreenViewsActor(WizardScreenDelegate* delegate,
20 int width,
21 int height);
22
23 virtual ~UpdateScreenViewsActor() {}
whywhat 2011/05/20 09:29:51 I think you don't need this dtor here.
altimofeev 2011/05/20 12:00:32 Why?
whywhat 2011/05/21 19:26:58 Empty dtor is automatically generated and it is vi
altimofeev 2011/05/23 08:13:58 I understand it. But I think that a rule of always
whywhat 2011/05/23 08:46:28 OK
24
25 virtual void Show();
26 virtual void Hide();
27 virtual void ShowManualRebootInfo();
28 virtual void SetProgress(int progress);
29 virtual void ShowCurtain(bool enable);
30
31 private:
32 DISALLOW_COPY_AND_ASSIGN(UpdateScreenViewsActor);
33 };
34
35 } // namespace chromeos
36
37 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UPDATE_SCREEN_VIEWS_ACTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698