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

Unified Diff: chrome/browser/tab_contents_delegate.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/tab_contents.cc ('k') | chrome/browser/tabs/tab_strip_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents_delegate.h
===================================================================
--- chrome/browser/tab_contents_delegate.h (revision 3991)
+++ chrome/browser/tab_contents_delegate.h (working copy)
@@ -26,15 +26,15 @@
// Opens a new URL inside the passed in TabContents, if source is 0 open
// in the current front-most tab.
virtual void OpenURLFromTab(TabContents* source,
- const GURL& url,
+ const GURL& url, const GURL& referrer,
WindowOpenDisposition disposition,
PageTransition::Type transition) = 0;
- virtual void OpenURL(const GURL& url,
+ virtual void OpenURL(const GURL& url, const GURL& referrer,
WindowOpenDisposition disposition,
PageTransition::Type transition)
{
- OpenURLFromTab(NULL, url, disposition, transition);
+ OpenURLFromTab(NULL, url, referrer, disposition, transition);
}
// Called to inform the delegate that the tab content's navigation state
« no previous file with comments | « chrome/browser/tab_contents.cc ('k') | chrome/browser/tabs/tab_strip_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698