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

Unified Diff: chrome/browser/instant/instant_client.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_client.cc
diff --git a/chrome/browser/instant/instant_client.cc b/chrome/browser/instant/instant_client.cc
index c77f7cdd6e25e9355519227e42ce255a1e999d63..3e38bceb67e58fe3096560cd418f86a7aca6508e 100644
--- a/chrome/browser/instant/instant_client.cc
+++ b/chrome/browser/instant/instant_client.cc
@@ -169,7 +169,8 @@ void InstantClient::StopCapturingKeyStrokes(int page_id) {
void InstantClient::SearchBoxNavigate(int page_id,
const GURL& url,
- content::PageTransition transition) {
+ content::PageTransition transition,
+ WindowOpenDisposition disposition) {
if (web_contents()->IsActiveEntry(page_id))
- delegate_->NavigateToURL(url, transition);
+ delegate_->NavigateToURL(url, transition, disposition);
}

Powered by Google App Engine
This is Rietveld 408576698