| Index: chrome/browser/instant/instant_controller.cc
|
| diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc
|
| index 86db17b4540fe6fa85b7333ed1802c7000341702..70e0a6031b5d5f316fc38ea405b709d8dafdd1ec 100644
|
| --- a/chrome/browser/instant/instant_controller.cc
|
| +++ b/chrome/browser/instant/instant_controller.cc
|
| @@ -1106,14 +1106,18 @@ void InstantController::StopCapturingKeyStrokes(
|
|
|
| void InstantController::NavigateToURL(const content::WebContents* contents,
|
| const GURL& url,
|
| - content::PageTransition transition) {
|
| + content::PageTransition transition,
|
| + WindowOpenDisposition disposition) {
|
| + LOG_INSTANT_DEBUG_EVENT(this, base::StringPrintf(
|
| + "NavigateToURL: url='%s'", url.spec().c_str()));
|
| +
|
| // TODO(samarth): handle case where contents are no longer "active" (e.g. user
|
| // has switched tabs).
|
| if (!extended_enabled_)
|
| return;
|
| if (overlay_)
|
| HideOverlay();
|
| - browser_->OpenURLInCurrentTab(url, transition);
|
| + browser_->OpenURL(url, transition, disposition);
|
| }
|
|
|
| void InstantController::OmniboxLostFocus(gfx::NativeView view_gaining_focus) {
|
|
|