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

Unified Diff: ui/app_list/app_list_item_model.h

Issue 12208040: [win] Add a progress bar in the app launcher for app installs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux compile Created 7 years, 10 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/ui/views/app_list/app_list_controller_win.cc ('k') | ui/app_list/app_list_item_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_item_model.h
diff --git a/ui/app_list/app_list_item_model.h b/ui/app_list/app_list_item_model.h
index ca382de3e4d53c238d29c7f5733e66a0ede57c30..29609316c2aafa5c39ce79bd7ddee9f666c961a8 100644
--- a/ui/app_list/app_list_item_model.h
+++ b/ui/app_list/app_list_item_model.h
@@ -36,6 +36,12 @@ class APP_LIST_EXPORT AppListItemModel {
void SetHighlighted(bool highlighted);
bool highlighted() const { return highlighted_; }
+ void SetIsInstalling(bool is_installing);
+ bool is_installing() const { return is_installing_; }
+
+ void SetPercentDownloaded(int percent_downloaded);
+ int percent_downloaded() const { return percent_downloaded_; }
+
void AddObserver(AppListItemModelObserver* observer);
void RemoveObserver(AppListItemModelObserver* observer);
@@ -47,6 +53,8 @@ class APP_LIST_EXPORT AppListItemModel {
gfx::ImageSkia icon_;
std::string title_;
bool highlighted_;
+ bool is_installing_;
+ int percent_downloaded_;
ObserverList<AppListItemModelObserver> observers_;
« no previous file with comments | « chrome/browser/ui/views/app_list/app_list_controller_win.cc ('k') | ui/app_list/app_list_item_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698