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

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

Issue 2844043003: Renable the Touch Bar Feature (Closed)
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_features.h" 5 #include "chrome/common/chrome_features.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/common/chrome_switches.h" 8 #include "chrome/common/chrome_switches.h"
9 #include "extensions/features/features.h" 9 #include "extensions/features/features.h"
10 #include "ppapi/features/features.h" 10 #include "ppapi/features/features.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 #endif 83 #endif
84 84
85 // Fixes for browser hang bugs are deployed in a field trial in order to measure 85 // Fixes for browser hang bugs are deployed in a field trial in order to measure
86 // their impact. See crbug.com/478209. 86 // their impact. See crbug.com/478209.
87 const base::Feature kBrowserHangFixesExperiment{ 87 const base::Feature kBrowserHangFixesExperiment{
88 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT}; 88 "BrowserHangFixesExperiment", base::FEATURE_DISABLED_BY_DEFAULT};
89 89
90 #if defined(OS_MACOSX) 90 #if defined(OS_MACOSX)
91 // Enables or disables the browser's touch bar. 91 // Enables or disables the browser's touch bar.
92 const base::Feature kBrowserTouchBar{"BrowserTouchBar", 92 const base::Feature kBrowserTouchBar{"BrowserTouchBar",
93 base::FEATURE_DISABLED_BY_DEFAULT}; 93 base::FEATURE_ENABLED_BY_DEFAULT};
94 94
95 // Enables or disables keyboard focus for the tab strip. 95 // Enables or disables keyboard focus for the tab strip.
96 const base::Feature kTabStripKeyboardFocus{"TabStripKeyboardFocus", 96 const base::Feature kTabStripKeyboardFocus{"TabStripKeyboardFocus",
97 base::FEATURE_DISABLED_BY_DEFAULT}; 97 base::FEATURE_DISABLED_BY_DEFAULT};
98 #endif // defined(OS_MACOSX) 98 #endif // defined(OS_MACOSX)
99 99
100 // Whether to trigger app banner installability checks on page load. 100 // Whether to trigger app banner installability checks on page load.
101 const base::Feature kCheckInstallabilityForBannerOnLoad{ 101 const base::Feature kCheckInstallabilityForBannerOnLoad{
102 "CheckInstallabilityForBannerOnLoad", base::FEATURE_DISABLED_BY_DEFAULT}; 102 "CheckInstallabilityForBannerOnLoad", base::FEATURE_DISABLED_BY_DEFAULT};
103 103
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 return base::FeatureList::IsEnabled(features::kPrefService) || 342 return base::FeatureList::IsEnabled(features::kPrefService) ||
343 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) 343 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES)
344 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( 344 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
345 switches::kMusConfig) == switches::kMash; 345 switches::kMusConfig) == switches::kMash;
346 #else 346 #else
347 false; 347 false;
348 #endif 348 #endif
349 } 349 }
350 350
351 } // namespace features 351 } // namespace features
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698