| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 82188aaaca93d231e4cd101b4dd07f1e3e9b98b7..c58c1c116acb35772d95a937f369bc6982fdd016 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -3781,8 +3781,7 @@ void Browser::OnStartDownload(TabContents* source, DownloadItem* download) {
|
| // window is minimized, we're in a unit test, etc.).
|
| TabContents* shelf_tab = shelf->browser()->GetSelectedTabContents();
|
| if ((download->total_bytes() > 0) &&
|
| - (!ChromeDownloadManagerDelegate::IsExtensionDownload(download) ||
|
| - ExtensionService::IsDownloadFromMiniGallery(download->GetURL())) &&
|
| + !ChromeDownloadManagerDelegate::IsExtensionDownload(download) &&
|
| platform_util::IsVisible(shelf_tab->GetNativeView()) &&
|
| ui::Animation::ShouldRenderRichAnimation()) {
|
| DownloadStartedAnimation::Show(shelf_tab);
|
| @@ -4313,8 +4312,6 @@ void Browser::Observe(int type,
|
| // we test the download_url GURL instead. This means that themes in
|
| // the extensions gallery won't get the loading dialog.
|
| GURL download_url = *(content::Details<GURL>(details).ptr());
|
| - if (ExtensionService::IsDownloadFromMiniGallery(download_url))
|
| - window()->ShowThemeInstallBubble();
|
| }
|
| }
|
| break;
|
|
|