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

Unified Diff: chrome/browser/ui/browser_commands.cc

Issue 2754383004: Rename WebsiteSettings code to PageInfo. (Closed)
Patch Set: Rename everything. 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/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 7f01f95dae1e25a5dd3db39904e9bc33cf536a67..90408e961272ac985ac5d43585c262b0e0ae4bf9 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;

Powered by Google App Engine
This is Rietveld 408576698