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

Unified Diff: chrome/renderer/searchbox/searchbox.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/renderer/searchbox/searchbox.cc
diff --git a/chrome/renderer/searchbox/searchbox.cc b/chrome/renderer/searchbox/searchbox.cc
index 223c320df5a7b08552eb2b2c6ca7a22ba55eb3cb..2137fec182457befe9b610eddf66a83aa0ddd04f 100644
--- a/chrome/renderer/searchbox/searchbox.cc
+++ b/chrome/renderer/searchbox/searchbox.cc
@@ -60,10 +60,11 @@ void SearchBox::StopCapturingKeyStrokes() {
}
void SearchBox::NavigateToURL(const GURL& url,
- content::PageTransition transition) {
+ content::PageTransition transition,
+ WindowOpenDisposition disposition) {
render_view()->Send(new ChromeViewHostMsg_SearchBoxNavigate(
render_view()->GetRoutingID(), render_view()->GetPageId(),
- url, transition));
+ url, transition, disposition));
}
int SearchBox::GetStartMargin() const {

Powered by Google App Engine
This is Rietveld 408576698