Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1990)

Unified Diff: chrome/browser/instant/instant_controller.cc

Issue 11644009: Added support for passing WindowOpenDisposition into BrowserInstantController::OpenURL() from the o… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/instant/instant_controller.cc
diff --git a/chrome/browser/instant/instant_controller.cc b/chrome/browser/instant/instant_controller.cc
index 50a394e99f0ddd137104d7da50172f7415ee8ffe..e4c787b5bf2f6af521ea446f5b258a1dee86e875 100644
--- a/chrome/browser/instant/instant_controller.cc
+++ b/chrome/browser/instant/instant_controller.cc
@@ -882,12 +882,13 @@ void InstantController::OmniboxLostFocus(gfx::NativeView view_gaining_focus) {
}
void InstantController::NavigateToURL(const GURL& url,
- content::PageTransition transition) {
+ content::PageTransition transition,
+ WindowOpenDisposition disposition) {
if (!extended_enabled_)
return;
if (loader_)
HideLoader();
- browser_->OpenURLInCurrentTab(url, transition);
+ browser_->OpenURL(url, transition, disposition);
}
bool InstantController::ResetLoader(const TemplateURL* template_url,

Powered by Google App Engine
This is Rietveld 408576698