| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
|
| index e34983dae09a4faf5753142b2ef8d19836919241..de9da11bdd2ac711af3d2671ba4a1b554c6605aa 100644
|
| --- a/chrome/browser/ui/views/frame/browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_view.cc
|
| @@ -606,7 +606,15 @@ void BrowserView::Show() {
|
|
|
| // If the window is already visible, just activate it.
|
| if (frame_->IsVisible()) {
|
| +#if defined(OS_MACOSX)
|
| + // When opening a URL from another application, macOS will activate the
|
| + // browser window in the case when "Open" action is used, but won't do it
|
| + // in the case when "Open Behind" is requested. Let's assume macOS handles
|
| + // the activation for us; just put the window above other browser windows.
|
| + frame_->ShowInactive();
|
| +#else
|
| frame_->Activate();
|
| +#endif
|
| return;
|
| }
|
|
|
|
|