From c058805b99cce98cbc352c499f3e69fd355a84c2 Mon Sep 17 00:00:00 2001 From: "ericroman@google.com" Date: Mon, 27 Oct 2008 23:01:50 +0000 Subject: Plumb the referrer throughout the OpenURL APIs. http://code.google.com/p/chromium/issues/detail?id=3224 Caveats: * Did not update TabNavigation yet. Hence session restore will continue to load the tabs with empty referrer. * Did not plumb referrer into incognito url open. (Not sure what the right thing to do is here with respect to privacy vs compatibility.) * Did not plumb referrer throughout the automation controller. No functional impact here, but it makes the code inconsistent with the non-automation version. Review URL: http://codereview.chromium.org/8186 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4036 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/constrained_window.h | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/browser/constrained_window.h') diff --git a/chrome/browser/constrained_window.h b/chrome/browser/constrained_window.h index 3244462..04c0af9 100644 --- a/chrome/browser/constrained_window.h +++ b/chrome/browser/constrained_window.h @@ -41,6 +41,7 @@ class ConstrainedTabContentsDelegate { // Called to open a URL in a the specified manner. virtual void OpenURL(ConstrainedWindow* window, const GURL& url, + const GURL& referrer, WindowOpenDisposition disposition, PageTransition::Type transition) = 0; -- cgit v1.1