Index: chrome/browser/extensions/extensions_service.cc |
=================================================================== |
--- chrome/browser/extensions/extensions_service.cc (revision 18263) |
+++ chrome/browser/extensions/extensions_service.cc (working copy) |
@@ -899,7 +899,7 @@ |
if (!frontend_->extensions_enabled() && !extension.IsTheme()) { |
#if defined(OS_WIN) |
if (frontend_->show_extensions_prompts()) { |
- win_util::MessageBox(GetActiveWindow(), |
+ win_util::MessageBox(GetForegroundWindow(), |
L"Extensions are not enabled. Add --enable-extensions to the " |
L"command-line to enable extensions.\n\n" |
L"This is a temporary message and it will be removed when extensions " |
@@ -915,7 +915,7 @@ |
#if defined(OS_WIN) |
if (!extension.IsTheme() && !from_external && |
frontend_->show_extensions_prompts() && |
- win_util::MessageBox(GetActiveWindow(), |
+ win_util::MessageBox(GetForegroundWindow(), |
L"Are you sure you want to install this extension?\n\n" |
L"This is a temporary message and it will be removed when extensions " |
L"UI is finalized.", |