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

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

Issue 10873020: Enable the Website Settings UI by default on trunk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/about_flags.cc ('k') | chrome/common/chrome_switches.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 93c476b135d6e7a401da05eada120d6a2d222f9f..be8f17a9cf9c28427c18133f551a5cb3401ab2f3 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -641,11 +641,11 @@ void ShowPageInfo(Browser* browser,
TabContents* tab_contents = TabContents::FromWebContents(web_contents);
if (CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableWebsiteSettings)) {
+ switches::kDisableWebsiteSettings)) {
+ browser->window()->ShowPageInfo(web_contents, url, ssl, show_history);
+ } else {
browser->window()->ShowWebsiteSettings(
profile, tab_contents, url, ssl, show_history);
- } else {
- browser->window()->ShowPageInfo(web_contents, url, ssl, show_history);
}
}
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698