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

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 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_loader.cc
diff --git a/chrome/browser/instant/instant_loader.cc b/chrome/browser/instant/instant_loader.cc
index f704b55f6218fe31c781e201a35a74b1b40d00e3..89f840814989c03a6afc76ea63a0c5a4e4a43205 100644
--- a/chrome/browser/instant/instant_loader.cc
+++ b/chrome/browser/instant/instant_loader.cc
@@ -21,6 +21,8 @@
#include "content/public/browser/render_widget_host_view.h"
#include "content/public/browser/web_contents_delegate.h"
#include "ipc/ipc_message.h"
+#include "webkit/glue/window_open_disposition.h"
+
namespace {
@@ -327,9 +329,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