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

Unified Diff: chrome/browser/browser.h

Issue 8186: Plumb the referrer throughout the OpenURL APIs.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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
« no previous file with comments | « chrome/browser/bookmark_bar_context_menu_controller_test.cc ('k') | chrome/browser/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.h
===================================================================
--- chrome/browser/browser.h (revision 3991)
+++ chrome/browser/browser.h (working copy)
@@ -193,7 +193,8 @@
// Add a new tab with the specified URL. If instance is not null, its process
// will be used to render the tab.
TabContents* AddTabWithURL(
- const GURL& url, PageTransition::Type transition, bool foreground,
+ const GURL& url, const GURL& referrer,
+ PageTransition::Type transition, bool foreground,
SiteInstance* instance);
// Add a new application tab for the specified URL. If lazy is true, the tab
@@ -230,6 +231,7 @@
// If instance is not null, its process will be used to render the tab.
virtual TabContents* CreateTabContentsForURL(
const GURL& url,
+ const GURL& referrer,
Profile* profile,
PageTransition::Type transition,
bool defer_load,
@@ -257,7 +259,7 @@
// Overridden from TabContentsDelegate:
virtual void OpenURLFromTab(TabContents* source,
- const GURL& url,
+ const GURL& url, const GURL& referrer,
WindowOpenDisposition disposition,
PageTransition::Type transition);
virtual void NavigationStateChanged(const TabContents* source,
« no previous file with comments | « chrome/browser/bookmark_bar_context_menu_controller_test.cc ('k') | chrome/browser/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698