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

Unified Diff: chrome/browser/about_flags.cc

Issue 2737413004: Add a Certificate Viewer link to the Page Info dropdown (Closed)
Patch Set: Add subviews Created 3 years, 8 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/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 7b6ea0f4ebe9259d92943574a4b6f413799abb27..e6edd56813375aa530bdcdcb44631df8b8bc5e51 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2357,7 +2357,7 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kTouchscreenCalibrationName,
flag_descriptions::kTouchscreenCalibrationDescription, kOsCrOS,
SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchCalibrationSetting)},
-#endif // defined(OS_CHROMEOS)
+#endif // defined(OS_CHROMEOS)
#if defined(OS_WIN)
{"gdi-text-printing", flag_descriptions::kGdiTextPrinting,
@@ -2372,7 +2372,7 @@ const FeatureEntry kFeatureEntries[] = {
{"show-arc-files-app", flag_descriptions::kShowArcFilesAppName,
flag_descriptions::kShowArcFilesAppDescription, kOsCrOS,
FEATURE_VALUE_TYPE(arc::kShowArcFilesAppFeature)},
-#endif // defined(OS_CHROMEOS)
+#endif // defined(OS_CHROMEOS)
#if defined(OS_ANDROID)
{"aia-fetching", flag_descriptions::kAiaFetchingName,
@@ -2385,7 +2385,7 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kForceEnableStylusToolsName,
flag_descriptions::kForceEnableStylusToolsDescription, kOsCrOS,
SINGLE_VALUE_TYPE(ash::switches::kAshForceEnablePalette)},
-#endif // defined(OS_CHROMEOS)
+#endif // defined(OS_CHROMEOS)
{"enable-midi-manager-dynamic-instantiation",
flag_descriptions::kEnableMidiManagerDynamicInstantiationName,
@@ -2489,6 +2489,12 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(chrome::android::kCustomContextMenu)},
#endif // OS_ANDROID
+#if defined(TOOLKIT_VIEWS) || (defined(OS_MACOSX) && !defined(OS_IOS))
+ {"show-cert-link", flag_descriptions::kShowCertLinkOnPageInfoName,
+ flag_descriptions::kShowCertLinkOnPageInfoDescription, kOsDesktop,
+ SINGLE_VALUE_TYPE(switches::kShowCertLink)},
+#endif
+
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.

Powered by Google App Engine
This is Rietveld 408576698