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

Unified Diff: chrome/browser/ui/views/browser_dialogs_views_mac.cc

Issue 2754383004: Rename WebsiteSettings code to PageInfo. (Closed)
Patch Set: Created 3 years, 9 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 702aa699f88bf4457d19330879e32b2132b827d1..0f1d322b7dfbb39ca9ebf09d39be37368ed6c22b 100644
--- a/chrome/browser/ui/views/browser_dialogs_views_mac.cc
+++ b/chrome/browser/ui/views/browser_dialogs_views_mac.cc
@@ -9,7 +9,7 @@
#include "chrome/browser/ui/browser_dialogs.h"
#include "chrome/browser/ui/views/bookmarks/bookmark_bubble_view.h"
#include "chrome/browser/ui/views/content_setting_bubble_contents.h"
-#include "chrome/browser/ui/views/page_info/website_settings_popup_view.h"
+#include "chrome/browser/ui/views/page_info/page_info_popup_view.h"
#include "chrome/browser/ui/views/task_manager_view.h"
#include "chrome/browser/ui/views/update_recommended_message_box.h"
@@ -34,14 +34,13 @@ void ShowWebsiteSettingsBubbleViewsAtPoint(
// earlier because the popup is shown on mouse release (but dismissed on
// mouse pressed). A Cocoa browser does both on mouse pressed, so a check
// when showing is sufficient.
- if (WebsiteSettingsPopupView::GetShownPopupType() !=
- WebsiteSettingsPopupView::POPUP_NONE) {
+ if (PageInfoPopupView::GetShownPopupType() != PageInfoPopupView::POPUP_NONE) {
return;
}
- WebsiteSettingsPopupView::ShowPopup(
- nullptr, gfx::Rect(anchor_point, gfx::Size()), profile, web_contents,
- virtual_url, security_info);
+ PageInfoPopupView::ShowPopup(nullptr, gfx::Rect(anchor_point, gfx::Size()),
+ profile, web_contents, virtual_url,
+ security_info);
}
void ShowBookmarkBubbleViewsAtPoint(const gfx::Point& anchor_point,

Powered by Google App Engine
This is Rietveld 408576698