| OLD | NEW |
| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 const base::Feature kBrowserTouchBar{"BrowserTouchBar", | 92 const base::Feature kBrowserTouchBar{"BrowserTouchBar", |
| 93 base::FEATURE_ENABLED_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 const base::Feature kTabsInCbd{"TabsInCBD", base::FEATURE_DISABLED_BY_DEFAULT}; | 100 const base::Feature kTabsInCbd{"TabsInCBD", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 101 | 101 |
| 102 // Whether to capture page thumbnails when the page load finishes (in addition |
| 103 // to any other times this might happen). |
| 104 const base::Feature kCaptureThumbnailOnLoadFinished{ |
| 105 "CaptureThumbnailOnLoadFinished", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 106 |
| 102 // Whether to trigger app banner installability checks on page load. | 107 // Whether to trigger app banner installability checks on page load. |
| 103 const base::Feature kCheckInstallabilityForBannerOnLoad{ | 108 const base::Feature kCheckInstallabilityForBannerOnLoad{ |
| 104 "CheckInstallabilityForBannerOnLoad", base::FEATURE_DISABLED_BY_DEFAULT}; | 109 "CheckInstallabilityForBannerOnLoad", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 105 | 110 |
| 106 #if defined(OS_WIN) | 111 #if defined(OS_WIN) |
| 107 const base::Feature kCleanupToolUI{"CleanupToolUI", | 112 const base::Feature kCleanupToolUI{"CleanupToolUI", |
| 108 base::FEATURE_DISABLED_BY_DEFAULT}; | 113 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 109 #endif | 114 #endif |
| 110 | 115 |
| 111 #if defined(OS_ANDROID) | 116 #if defined(OS_ANDROID) |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 return base::FeatureList::IsEnabled(features::kPrefService) || | 362 return base::FeatureList::IsEnabled(features::kPrefService) || |
| 358 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) | 363 #if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES) |
| 359 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( | 364 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
| 360 switches::kMusConfig) == switches::kMash; | 365 switches::kMusConfig) == switches::kMash; |
| 361 #else | 366 #else |
| 362 false; | 367 false; |
| 363 #endif | 368 #endif |
| 364 } | 369 } |
| 365 | 370 |
| 366 } // namespace features | 371 } // namespace features |
| OLD | NEW |