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

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 7 years, 11 months 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 acb9583c85849f88a7e1d93d5ca684c5db1ac6b2..cfe0fa5aad058f9597a3d92f00c46fc415aa4a55 100644
--- a/chrome/browser/instant/instant_controller.cc
+++ b/chrome/browser/instant/instant_controller.cc
@@ -943,12 +943,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