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

Unified Diff: chrome/browser/ui/gtk/constrained_html_delegate_gtk.cc

Issue 8785004: Change NavigationController::LoadURL to take a Referrer class instead of a GURL as referrer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years 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
Index: chrome/browser/ui/gtk/constrained_html_delegate_gtk.cc
diff --git a/chrome/browser/ui/gtk/constrained_html_delegate_gtk.cc b/chrome/browser/ui/gtk/constrained_html_delegate_gtk.cc
index a27fb3fba9cbbe54b60d9a77d2c2495195946c61..132779ff37190c57eb501a640c1cb416f3461cf0 100644
--- a/chrome/browser/ui/gtk/constrained_html_delegate_gtk.cc
+++ b/chrome/browser/ui/gtk/constrained_html_delegate_gtk.cc
@@ -108,7 +108,8 @@ ConstrainedHtmlDelegateGtk::ConstrainedHtmlDelegateGtk(
ConstrainedHtmlUI::GetPropertyAccessor().SetProperty(
tab_contents->property_bag(), this);
- tab_contents->controller().LoadURL(delegate->GetDialogContentURL(), GURL(),
+ tab_contents->controller().LoadURL(delegate->GetDialogContentURL(),
+ content::Referrer(),
content::PAGE_TRANSITION_START_PAGE,
std::string());
tab_contents_container_.SetTab(tab_.get());
« no previous file with comments | « chrome/browser/ui/cocoa/notifications/balloon_controller.mm ('k') | chrome/browser/ui/gtk/html_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698