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

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

Issue 2754383004: Rename WebsiteSettings code to PageInfo. (Closed)
Patch Set: Upload missing comment fix for WebSettingsUI -> PageInfoUI. 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..ea4ab31d0650795289f96b5ca8752e0475b5c730 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"
@@ -21,7 +21,7 @@
namespace chrome {
-void ShowWebsiteSettingsBubbleViewsAtPoint(
+void ShowPageInfoBubbleViewsAtPoint(
const gfx::Point& anchor_point,
Profile* profile,
content::WebContents* web_contents,
@@ -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,
« no previous file with comments | « chrome/browser/ui/page_info/website_settings_unittest.cc ('k') | chrome/browser/ui/views/frame/browser_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698