summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc12
1 files changed, 1 insertions, 11 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 3dcd0fb..f0c6624 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -86,7 +86,6 @@
#include "chrome/browser/user_data_manager.h"
#include "chrome/browser/view_ids.h"
#include "chrome/browser/views/location_bar_view.h"
-#include "chrome/browser/views/theme_install_bubble_view.h"
#include "chrome/common/child_process_host.h"
#endif // OS_WIN
@@ -2203,18 +2202,9 @@ void Browser::Observe(NotificationType type,
break;
case NotificationType::EXTENSION_READY_FOR_INSTALL: {
-#if defined(OS_WIN)
if (BrowserList::GetLastActive() != this)
break;
- TabContents* tab_contents =
- BrowserList::GetLastActive()->GetSelectedTabContents();
- if (!tab_contents)
- break;
- if (platform_util::IsVisible(tab_contents->GetNativeView()))
- ThemeInstallBubbleView::Show(tab_contents);
-#else
- NOTIMPLEMENTED();
-#endif
+ window()->ShowThemeInstallBubble();
break;
}