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

Unified Diff: chrome/browser/navigation_controller.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/native_ui_contents.cc ('k') | chrome/browser/navigation_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/navigation_controller.h
===================================================================
--- chrome/browser/navigation_controller.h (revision 3991)
+++ chrome/browser/navigation_controller.h (working copy)
@@ -256,11 +256,13 @@
// New navigations -----------------------------------------------------------
// Loads the specified URL.
- void LoadURL(const GURL& url, PageTransition::Type type);
+ void LoadURL(const GURL& url, const GURL& referrer,
+ PageTransition::Type type);
// Load the specified URL the next time it becomes active.
- void LoadURLLazily(const GURL& url, PageTransition::Type type,
- const std::wstring& title, SkBitmap* icon);
+ void LoadURLLazily(const GURL& url, const GURL& referrer,
+ PageTransition::Type type, const std::wstring& title,
+ SkBitmap* icon);
// Loads the current page if this NavigationController was restored from
// history and the current page has not loaded yet.
@@ -445,7 +447,7 @@
// was restored from a previous session.
void set_max_restored_page_id(int max_id) { max_restored_page_id_ = max_id; }
- NavigationEntry* CreateNavigationEntry(const GURL& url,
+ NavigationEntry* CreateNavigationEntry(const GURL& url, const GURL& referrer,
PageTransition::Type transition);
// Invokes ScheduleTabContentsCollection for all TabContents but the active
« no previous file with comments | « chrome/browser/native_ui_contents.cc ('k') | chrome/browser/navigation_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698