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

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

Issue 7774009: [cros] check for updates in WebUI OOBE can be cancelled in dev builds. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Added OnActorDestroyed to UpdateScreen::Delegate. Created 9 years, 3 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) 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_UPDATE_SCREEN_ACTOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_UPDATE_SCREEN_ACTOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_UPDATE_SCREEN_ACTOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_UPDATE_SCREEN_ACTOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/chromeos/login/update_screen_actor.h" 9 #include "chrome/browser/chromeos/login/update_screen_actor.h"
10 #include "chrome/browser/chromeos/login/update_view.h" 10 #include "chrome/browser/chromeos/login/update_view.h"
11 #include "chrome/browser/chromeos/login/view_screen.h" 11 #include "chrome/browser/chromeos/login/view_screen.h"
12 12
13 namespace chromeos { 13 namespace chromeos {
14 14
15 class ViewsUpdateScreenActor : public DefaultViewScreen<UpdateView>, 15 class ViewsUpdateScreenActor : public DefaultViewScreen<UpdateView>,
16 public UpdateScreenActor { 16 public UpdateScreenActor {
17 public: 17 public:
18 explicit ViewsUpdateScreenActor(ViewScreenDelegate* delegate); 18 explicit ViewsUpdateScreenActor(ViewScreenDelegate* delegate);
19 virtual ~ViewsUpdateScreenActor() {} 19 virtual ~ViewsUpdateScreenActor();
20 20
21 virtual void SetDelegate(UpdateScreenActor::Delegate* screen) OVERRIDE;
21 virtual void PrepareToShow(); 22 virtual void PrepareToShow();
22 virtual void Show(); 23 virtual void Show();
23 virtual void Hide(); 24 virtual void Hide();
24 virtual void ShowManualRebootInfo(); 25 virtual void ShowManualRebootInfo();
25 virtual void SetProgress(int progress); 26 virtual void SetProgress(int progress);
26 virtual void ShowCurtain(bool enable); 27 virtual void ShowCurtain(bool enable);
27 virtual void ShowPreparingUpdatesInfo(bool visible); 28 virtual void ShowPreparingUpdatesInfo(bool visible);
28 29
29 private: 30 private:
31 UpdateScreenActor::Delegate* screen_;
32
30 DISALLOW_COPY_AND_ASSIGN(ViewsUpdateScreenActor); 33 DISALLOW_COPY_AND_ASSIGN(ViewsUpdateScreenActor);
31 }; 34 };
32 35
33 } // namespace chromeos 36 } // namespace chromeos
34 37
35 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_UPDATE_SCREEN_ACTOR_H_ 38 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_VIEWS_UPDATE_SCREEN_ACTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/update_screen_actor.h ('k') | chrome/browser/chromeos/login/views_update_screen_actor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698