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

Unified Diff: chrome/browser/ui/browser.cc

Issue 8404007: Delete code for and references to mini-gallery and theme install bubbles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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/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;

Powered by Google App Engine
This is Rietveld 408576698