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

Unified Diff: chrome/browser/instant/instant_loader.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_loader.cc
diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
index 2d2ea420d0afb049c77ae58f5b3a456d0c0561f6..4ad71676272eff4a2cb79ec3a1c42fb11b65020e 100644
--- a/chrome/browser/instant/instant_loader.cc
+++ b/chrome/browser/instant/instant_loader.cc
@@ -20,6 +20,8 @@
#include "content/public/browser/web_contents_delegate.h"
#include "content/public/browser/web_contents_view.h"
#include "ipc/ipc_message.h"
+#include "webkit/glue/window_open_disposition.h"
sreeram 2013/01/22 06:01:19 You don't need this include (it's already being in
dougw 2013/01/24 03:05:25 Done.
+
namespace {
@@ -316,9 +318,10 @@ void InstantLoader::AboutToNavigateMainFrame(const GURL& url) {
}
void InstantLoader::NavigateToURL(const GURL& url,
- content::PageTransition transition) {
+ content::PageTransition transition,
+ WindowOpenDisposition disposition) {
InstantSupportDetermined(true);
- controller_->NavigateToURL(url, transition);
+ controller_->NavigateToURL(url, transition, disposition);
}
void InstantLoader::Observe(int type,

Powered by Google App Engine
This is Rietveld 408576698