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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 2737413004: Add a Certificate Viewer link to the Page Info dropdown (Closed)
Patch Set: Rebase, update tooltip Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | components/page_info_strings.grdp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
748 const char kRestoreLastSession[] = "restore-last-session"; 748 const char kRestoreLastSession[] = "restore-last-session";
749 749
750 // Disable saving pages as HTML-only, disable saving pages as HTML Complete 750 // Disable saving pages as HTML-only, disable saving pages as HTML Complete
751 // (with a directory of sub-resources). Enable only saving pages as MHTML. 751 // (with a directory of sub-resources). Enable only saving pages as MHTML.
752 // See http://crbug.com/120416 for how to remove this switch. 752 // See http://crbug.com/120416 for how to remove this switch.
753 const char kSavePageAsMHTML[] = "save-page-as-mhtml"; 753 const char kSavePageAsMHTML[] = "save-page-as-mhtml";
754 754
755 // If true the app list will be shown. 755 // If true the app list will be shown.
756 const char kShowAppList[] = "show-app-list"; 756 const char kShowAppList[] = "show-app-list";
757 757
758 // If true the Certificate link will be shown in Page Info for HTTPS pages.
759 const char kShowCertLink[] = "show-cert-link";
760
758 // Does not show an infobar when an extension attaches to a page using 761 // Does not show an infobar when an extension attaches to a page using
759 // chrome.debugger page. Required to attach to extension background pages. 762 // chrome.debugger page. Required to attach to extension background pages.
760 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api"; 763 const char kSilentDebuggerExtensionAPI[] = "silent-debugger-extension-api";
761 764
762 // Causes Chrome to launch without opening any windows by default. Useful if 765 // Causes Chrome to launch without opening any windows by default. Useful if
763 // one wishes to use Chrome as an ash server. 766 // one wishes to use Chrome as an ash server.
764 const char kSilentLaunch[] = "silent-launch"; 767 const char kSilentLaunch[] = "silent-launch";
765 768
766 // Simulates a critical update being available. 769 // Simulates a critical update being available.
767 const char kSimulateCriticalUpdate[] = "simulate-critical-update"; 770 const char kSimulateCriticalUpdate[] = "simulate-critical-update";
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
1181 1184
1182 // ----------------------------------------------------------------------------- 1185 // -----------------------------------------------------------------------------
1183 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE. 1186 // DO NOT ADD YOUR VERY NICE FLAGS TO THE BOTTOM OF THIS FILE.
1184 // 1187 //
1185 // You were going to just dump your switches here, weren't you? Instead, please 1188 // You were going to just dump your switches here, weren't you? Instead, please
1186 // put them in alphabetical order above, or in order inside the appropriate 1189 // put them in alphabetical order above, or in order inside the appropriate
1187 // ifdef at the bottom. The order should match the header. 1190 // ifdef at the bottom. The order should match the header.
1188 // ----------------------------------------------------------------------------- 1191 // -----------------------------------------------------------------------------
1189 1192
1190 } // namespace switches 1193 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | components/page_info_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698