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

Unified Diff: chrome/browser/ui/browser_commands.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
« no previous file with comments | « chrome/browser/ui/browser_commands.h ('k') | chrome/browser/ui/browser_dialogs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 12849ec72e0f8ab40d95735dc9968f3877cb336e..efcc39cc4d372d674a7f6f303bf3f5334abefc80 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -897,7 +897,7 @@ void ShowFindBar(Browser* browser) {
browser->GetFindBarController()->Show();
}
-bool ShowWebsiteSettings(Browser* browser, content::WebContents* web_contents) {
+bool ShowPageInfo(Browser* browser, content::WebContents* web_contents) {
content::NavigationEntry* entry =
web_contents->GetController().GetVisibleEntry();
if (!entry)
@@ -908,7 +908,7 @@ bool ShowWebsiteSettings(Browser* browser, content::WebContents* web_contents) {
security_state::SecurityInfo security_info;
helper->GetSecurityInfo(&security_info);
- browser->window()->ShowWebsiteSettings(
+ browser->window()->ShowPageInfo(
Profile::FromBrowserContext(web_contents->GetBrowserContext()),
web_contents, entry->GetVirtualURL(), security_info);
return true;
« no previous file with comments | « chrome/browser/ui/browser_commands.h ('k') | chrome/browser/ui/browser_dialogs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698