Allow openExternal to open URLs in the background #3224

This commit is contained in:
Ben Gotow 2016-02-02 23:01:00 -08:00 committed by Kevin Sawicki
parent 57f322a818
commit d8679b3899
7 changed files with 33 additions and 9 deletions

View file

@ -26,7 +26,7 @@ bool AtomResourceDispatcherHostDelegate::HandleExternalProtocol(
bool has_user_gesture) {
GURL escaped_url(net::EscapeExternalHandlerValue(url.spec()));
BrowserThread::PostTask(BrowserThread::UI, FROM_HERE,
base::Bind(base::IgnoreResult(platform_util::OpenExternal), escaped_url));
base::Bind(base::IgnoreResult(platform_util::OpenExternal), escaped_url, false));
return true;
}