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

Unified Diff: chrome/browser/about_flags.cc

Issue 2936273002: Add chrome://flag control for features::kBrowserTouchBar (Closed)
Patch Set: Fix comment position Created 3 years, 6 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 | « no previous file | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index a7c596db90de33bb92426d29312a5dbeaec597dc..238e4274c54d4a4a4bf877f25a558d1cd52f8c28 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -3089,6 +3089,12 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kBrowserSideNavigationDescription, kOsAll,
FEATURE_VALUE_TYPE(features::kBrowserSideNavigation)},
+#if defined(OS_MACOSX)
+ {"mac-touchbar", flag_descriptions::kMacTouchBarName,
+ flag_descriptions::kMacTouchBarDescription, kOsMac,
+ FEATURE_VALUE_TYPE(features::kBrowserTouchBar)},
+#endif // defined(OS_MACOSX)
+
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms/enums.xml. See note in
// enums.xml and don't forget to run AboutFlagsHistogramTest unit test.
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698