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

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: respond to comments 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 b23a368479d7ffeadc98776fd53f4e232173bf2b..7bb4d1fb4fed0e05c46e764069012d8d9b618b5a 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;

Powered by Google App Engine
This is Rietveld 408576698