diff options
author | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-01 02:57:13 +0000 |
---|---|---|
committer | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-01 02:57:13 +0000 |
commit | d523467f140d3676c8d2598897b4829ef9d1a348 (patch) | |
tree | 9d1e98f4fa684b5283aa467d165a132af4d98327 /ui | |
parent | ab43a8385b549ed750b3fd83f156b62965fa7936 (diff) | |
download | chromium_src-d523467f140d3676c8d2598897b4829ef9d1a348.zip chromium_src-d523467f140d3676c8d2598897b4829ef9d1a348.tar.gz chromium_src-d523467f140d3676c8d2598897b4829ef9d1a348.tar.bz2 |
Highlight items in the OSX App Launcher when install state changes.
When install begins, ensure the page is shown. When install completes,
ensure the page is shown, and select the item. This is to match CrOS/Win
behavior.
BUG=138633
TEST=With OSX App launcher enabled, install a large item from the
webstore. App launcher should show, with the item visible, with progress
bars. Move to a different page and dismiss the app launcher. When
install completes, app launcher should show again, and installed item
should be visible, and selected.
R=koz@chromium.org
Review URL: https://codereview.chromium.org/21458002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214933 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app_list/cocoa/apps_grid_view_item.mm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app_list/cocoa/apps_grid_view_item.mm b/ui/app_list/cocoa/apps_grid_view_item.mm index c2aeea5..45d0554 100644 --- a/ui/app_list/cocoa/apps_grid_view_item.mm +++ b/ui/app_list/cocoa/apps_grid_view_item.mm @@ -341,10 +341,12 @@ void ItemModelObserverBridge::ItemPercentDownloadedChanged() { if (!isInstalling == !progressIndicator_) return; + [self ensureVisible]; if (!isInstalling) { [progressIndicator_ removeFromSuperview]; progressIndicator_.reset(); [self updateButtonTitle]; + [self setSelected:YES]; return; } |