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

Issue 5690004: Fix bug where icon is not displayed in extension install bubbles (Closed)

Created:
10 years ago by Aaron Boodman
Modified:
9 years, 6 months ago
CC:
chromium-reviews, Erik does not do reviews, pam+watch_chromium.org
Visibility:
Public.

Description

Fix bug where icon is not displayed in extension install bubbles when installed from store. BUG=65346 TEST=Install any extension from the web store. Should see icon in install success bubble. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=69060

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -6 lines) Patch
M chrome/browser/extensions/crx_installer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_install_ui.h View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_install_ui.cc View 3 chunks +11 lines, -3 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
Aaron Boodman
This is a quick fix. I think that ExtensionInstallUI should really be torn apart into ...
10 years ago (2010-12-13 00:39:06 UTC) #1
asargent_no_longer_on_chrome
lgtm http://codereview.chromium.org/5690004/diff/1/chrome/browser/extensions/extension_install_ui.cc File chrome/browser/extensions/extension_install_ui.cc (right): http://codereview.chromium.org/5690004/diff/1/chrome/browser/extensions/extension_install_ui.cc#newcode280 chrome/browser/extensions/extension_install_ui.cc:280: // Load the image asynchronously. For the response, ...
10 years ago (2010-12-13 18:05:11 UTC) #2
Aaron Boodman
10 years ago (2010-12-13 19:58:56 UTC) #3
On 2010/12/13 18:05:11, Antony Sargent wrote:
> lgtm
> 
>
http://codereview.chromium.org/5690004/diff/1/chrome/browser/extensions/exten...
> File chrome/browser/extensions/extension_install_ui.cc (right):
> 
>
http://codereview.chromium.org/5690004/diff/1/chrome/browser/extensions/exten...
> chrome/browser/extensions/extension_install_ui.cc:280: // Load the image
> asynchronously. For the response, check OnImageLoaded.
> Would it make sense to check here if the icon was already loaded (by a call to
> SetIcon), and go directly to OnImageLoaded if it is?
> 
> It doesn't look like the current code would follow this path, but I could
> imagine changes in the future that might end up doing that now that you've
added
> the SetIcon method.

I agree, but doing that would mean a bit more chopping up of this file and I'm
trying to make the change as targeted as possible. Hopefully I'll get around to
doing the split I proposed instead.

Powered by Google App Engine
This is Rietveld 408576698