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

Unified Diff: chrome/browser/ui/app_list/extension_app_item.cc

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
Index: chrome/browser/ui/app_list/extension_app_item.cc
diff --git a/chrome/browser/ui/app_list/extension_app_item.cc b/chrome/browser/ui/app_list/extension_app_item.cc
index 03d2cb4bd1ba17276ab9f5856c7938630229dfd2..0d8ea54b9c7bff350e515ddae97527eade4c1234 100644
--- a/chrome/browser/ui/app_list/extension_app_item.cc
+++ b/chrome/browser/ui/app_list/extension_app_item.cc
@@ -208,8 +208,9 @@ bool ExtensionAppItem::HasOverlay() const {
void ExtensionAppItem::Reload() {
const Extension* extension = GetExtension();
- // If the extension isn't there, show the 'extension is installing' UI.
- if (!extension) {
+ bool is_installing = !extension;
+ SetIsInstalling(is_installing);
+ if (is_installing) {
SetTitle(extension_name_);
UpdateIcon();
return;
« no previous file with comments | « chrome/browser/ui/app_list/apps_model_builder.cc ('k') | chrome/browser/ui/ash/app_list/app_list_controller_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698