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

Unified Diff: chrome/browser/ui/views/browser_dialogs_views_mac.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/browser_dialogs_views_mac.cc
diff --git a/chrome/browser/ui/views/browser_dialogs_views_mac.cc b/chrome/browser/ui/views/browser_dialogs_views_mac.cc
index 73dd8e6fb29c6e6941f83bc311d9793599e426bb..f30448add01b2e69586eb22d5804f244625825ef 100644
--- a/chrome/browser/ui/views/browser_dialogs_views_mac.cc
+++ b/chrome/browser/ui/views/browser_dialogs_views_mac.cc
@@ -24,26 +24,26 @@ void ShowWebsiteSettingsBubbleViewsAtPoint(
const gfx::Point& anchor_point,
Profile* profile,
content::WebContents* web_contents,
- const GURL& url,
+ const GURL& virtual_url,
const security_state::SecurityStateModel::SecurityInfo& security_info) {
WebsiteSettingsPopupView::ShowPopup(
- nullptr, gfx::Rect(anchor_point, gfx::Size()), profile, web_contents, url,
- security_info);
+ nullptr, gfx::Rect(anchor_point, gfx::Size()), profile, web_contents,
+ virtual_url, security_info);
}
void ShowBookmarkBubbleViewsAtPoint(const gfx::Point& anchor_point,
gfx::NativeView parent,
bookmarks::BookmarkBubbleObserver* observer,
Browser* browser,
- const GURL& url,
+ const GURL& virtual_url,
bool already_bookmarked) {
// The Views dialog may prompt for sign in.
std::unique_ptr<BubbleSyncPromoDelegate> delegate(
new BookmarkBubbleSignInDelegate(browser));
- BookmarkBubbleView::ShowBubble(nullptr, gfx::Rect(anchor_point, gfx::Size()),
- parent, observer, std::move(delegate),
- browser->profile(), url, already_bookmarked);
+ BookmarkBubbleView::ShowBubble(
+ nullptr, gfx::Rect(anchor_point, gfx::Size()), parent, observer,
+ std::move(delegate), browser->profile(), virtual_url, already_bookmarked);
}
ui::TableModel* ShowTaskManagerViews(Browser* browser) {

Powered by Google App Engine
This is Rietveld 408576698