| Index: chrome/browser/ui/browser.cc
|
| ===================================================================
|
| --- chrome/browser/ui/browser.cc (revision 114400)
|
| +++ chrome/browser/ui/browser.cc (working copy)
|
| @@ -3728,15 +3728,8 @@
|
|
|
| if (DisplayOldDownloadsUI()) {
|
| #if defined(OS_CHROMEOS) && !defined(USE_AURA)
|
| - // Don't show content browser for extension/theme downloads from gallery.
|
| - ExtensionService* service = profile_->GetExtensionService();
|
| - if (!ChromeDownloadManagerDelegate::IsExtensionDownload(download) ||
|
| - service == NULL ||
|
| - !service->IsDownloadFromGallery(download->GetURL(),
|
| - download->GetReferrerUrl())) {
|
| - // Open the Active Downloads ui for chromeos.
|
| + if (ActiveDownloadsUI::ShouldShowPopup(profile_, download))
|
| ActiveDownloadsUI::OpenPopup(profile_);
|
| - }
|
| #else
|
| // GetDownloadShelf creates the download shelf if it was not yet created.
|
| DownloadShelf* shelf = window()->GetDownloadShelf();
|
|
|