Commit 1e5f53af authored by mpcomplete@google.com's avatar mpcomplete@google.com

Fix a bug where clicking an external link from an extension page would reuse

the same process.

BUG=13997
Review URL: http://codereview.chromium.org/126067

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18451 0039d316-1c4b-4281-b951-d872f2087c98
parent f7d93e52
...@@ -1486,6 +1486,7 @@ WindowOpenDisposition RenderView::DispositionForNavigationAction( ...@@ -1486,6 +1486,7 @@ WindowOpenDisposition RenderView::DispositionForNavigationAction(
// When we received such unsolicited navigations, we sometimes want to // When we received such unsolicited navigations, we sometimes want to
// punt them up to the browser to handle. // punt them up to the browser to handle.
if (BindingsPolicy::is_dom_ui_enabled(enabled_bindings_) || if (BindingsPolicy::is_dom_ui_enabled(enabled_bindings_) ||
BindingsPolicy::is_extension_enabled(enabled_bindings_) ||
frame->GetInViewSourceMode() || frame->GetInViewSourceMode() ||
url.SchemeIs(chrome::kViewSourceScheme)) { url.SchemeIs(chrome::kViewSourceScheme)) {
OpenURL(webview, url, GURL(), disposition); OpenURL(webview, url, GURL(), disposition);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment