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

Unified Diff: chrome/browser/chromeos/login/update_screen_actor.h

Issue 10882014: Slightly modified ETA computation algorithm. Also modified UI of the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix, synx. Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/login/update_screen.cc ('k') | chrome/browser/resources/chromeos/login/oobe.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/update_screen_actor.h
diff --git a/chrome/browser/chromeos/login/update_screen_actor.h b/chrome/browser/chromeos/login/update_screen_actor.h
index 1d230a4718315815e960ba47f84bdd53727a9375..5529d5df93c308859a7312d7baa897759e527ca1 100644
--- a/chrome/browser/chromeos/login/update_screen_actor.h
+++ b/chrome/browser/chromeos/login/update_screen_actor.h
@@ -11,6 +11,14 @@ namespace chromeos {
class UpdateScreenActor {
public:
+ // Indices for corresponding info messages during update stage.
+ enum ProgressMessage {
+ PROGRESS_MESSAGE_UPDATE_AVAILABLE = 0,
+ PROGRESS_MESSAGE_INSTALLING_UPDATE,
+ PROGRESS_MESSAGE_VERIFYING,
+ PROGRESS_MESSAGE_FINALIZING
+ };
+
class Delegate {
public:
virtual ~Delegate() {}
@@ -39,16 +47,19 @@ class UpdateScreenActor {
virtual void SetProgress(int progress) = 0;
// Shows estimated time left message.
- virtual void ShowEstimatedTimeLeft(bool enable) = 0;
+ virtual void ShowEstimatedTimeLeft(bool visible) = 0;
// Sets current estimation for time left in the downloading stage.
virtual void SetEstimatedTimeLeft(const base::TimeDelta& time) = 0;
- // Shows screen curtains.
- virtual void ShowCurtain(bool enable) = 0;
+ // Shows message under progress bar.
+ virtual void ShowProgressMessage(bool visible) = 0;
- // Shows label for "Preparing updates" state.
- virtual void ShowPreparingUpdatesInfo(bool visible) = 0;
+ // Sets message under progress bar.
+ virtual void SetProgressMessage(ProgressMessage message) = 0;
+
+ // Shows screen curtains.
+ virtual void ShowCurtain(bool visible) = 0;
};
} // namespace chromeos
« no previous file with comments | « chrome/browser/chromeos/login/update_screen.cc ('k') | chrome/browser/resources/chromeos/login/oobe.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698