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

Unified Diff: chrome/browser/browser.cc

Issue 2659004: Show theme loading info bubble and info bars in last normal browser. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/download/download_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.cc
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index b3ad0d31215dcae5938e2f996155579c657a87e0..b281eb79c11fe06b35f35d68a3607c5e159ad950 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -2968,7 +2968,10 @@ void Browser::Observe(NotificationType type,
break;
case NotificationType::EXTENSION_READY_FOR_INSTALL: {
- if (BrowserList::GetLastActive() != this)
+ // Handle EXTENSION_READY_FOR_INSTALL for last active normal browser.
+ if (BrowserList::FindBrowserWithType(profile(),
+ Browser::TYPE_NORMAL,
+ false) != this)
break;
// We only want to show the loading dialog for themes, but we don't want
« no previous file with comments | « no previous file | chrome/browser/download/download_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698