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

Side by Side Diff: chrome/browser/instant/instant_tab.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/instant/instant_tab.h" 5 #include "chrome/browser/instant/instant_tab.h"
6 6
7 #include "chrome/browser/instant/instant_controller.h" 7 #include "chrome/browser/instant/instant_controller.h"
8 8
9 InstantTab::InstantTab(InstantController* controller, 9 InstantTab::InstantTab(InstantController* controller,
10 content::WebContents* contents) 10 content::WebContents* contents)
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 void InstantTab::RenderViewGone() { 87 void InstantTab::RenderViewGone() {
88 // For a commit page, a crash should not be handled differently. 88 // For a commit page, a crash should not be handled differently.
89 } 89 }
90 90
91 void InstantTab::AboutToNavigateMainFrame(const GURL& url) { 91 void InstantTab::AboutToNavigateMainFrame(const GURL& url) {
92 // The client is a committed tab, navigations will happen as expected. 92 // The client is a committed tab, navigations will happen as expected.
93 } 93 }
94 94
95 void InstantTab::NavigateToURL(const GURL& url, 95 void InstantTab::NavigateToURL(const GURL& url,
96 content::PageTransition transition) { 96 content::PageTransition transition,
97 controller_->NavigateToURL(url, transition); 97 WindowOpenDisposition disposition) {
98 controller_->NavigateToURL(url, transition, disposition);
98 } 99 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698