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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 1995813002: Use the virtual URL of the page in the Page Info Bubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mac build Created 4 years, 7 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
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index c8f43ac0ed8ad1f9de938a6528db698cb54c5ffb..f19f3e01ddc6d379d88523fa35241f26e98dbb9e 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -1321,7 +1321,7 @@ void BrowserView::UserChangedTheme() {
void BrowserView::ShowWebsiteSettings(
Profile* profile,
content::WebContents* web_contents,
- const GURL& url,
+ const GURL& virtual_url,
const security_state::SecurityStateModel::SecurityInfo& security_info) {
// Some browser windows have a location icon embedded in the frame. Try to
// use that if it exists. If it doesn't exist, use the location icon from
@@ -1331,7 +1331,7 @@ void BrowserView::ShowWebsiteSettings(
popup_anchor = GetLocationBarView()->location_icon_view()->GetImageView();
WebsiteSettingsPopupView::ShowPopup(popup_anchor, gfx::Rect(), profile,
- web_contents, url, security_info);
+ web_contents, virtual_url, security_info);
}
void BrowserView::ShowAppMenu() {
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.h ('k') | chrome/browser/ui/views/frame/web_app_left_header_view_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698