| 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 "extensions/features/features.h" | 7 #include "extensions/features/features.h" |
| 8 #include "ppapi/features/features.h" | 8 #include "ppapi/features/features.h" |
| 9 | 9 |
| 10 namespace features { | 10 namespace features { |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 const base::Feature kGdiTextPrinting {"GdiTextPrinting", | 125 const base::Feature kGdiTextPrinting {"GdiTextPrinting", |
| 126 base::FEATURE_DISABLED_BY_DEFAULT}; | 126 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 127 #endif | 127 #endif |
| 128 | 128 |
| 129 #if defined (OS_CHROMEOS) | 129 #if defined (OS_CHROMEOS) |
| 130 // Enables or disables the Happiness Tracking System for the device. | 130 // Enables or disables the Happiness Tracking System for the device. |
| 131 const base::Feature kHappinessTrackingSystem { | 131 const base::Feature kHappinessTrackingSystem { |
| 132 "HappinessTrackingSystem", base::FEATURE_DISABLED_BY_DEFAULT}; | 132 "HappinessTrackingSystem", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 133 #endif | 133 #endif |
| 134 | 134 |
| 135 const base::Feature kImportantSitesInCBD{"ImportantSitesInCBD", |
| 136 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 137 |
| 135 // Controls whether the "improved recovery component" is used. The improved | 138 // Controls whether the "improved recovery component" is used. The improved |
| 136 // recovery component is a redesigned Chrome component intended to restore | 139 // recovery component is a redesigned Chrome component intended to restore |
| 137 // a broken Chrome updater in more scenarios than before. | 140 // a broken Chrome updater in more scenarios than before. |
| 138 const base::Feature kImprovedRecoveryComponent{ | 141 const base::Feature kImprovedRecoveryComponent{ |
| 139 "ImprovedRecoveryComponent", base::FEATURE_DISABLED_BY_DEFAULT}; | 142 "ImprovedRecoveryComponent", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 140 | 143 |
| 141 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) | 144 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 142 // Enables showing the "This computer will no longer receive Google Chrome | 145 // Enables showing the "This computer will no longer receive Google Chrome |
| 143 // updates" infobar instead of the "will soon stop receiving" infobar on | 146 // updates" infobar instead of the "will soon stop receiving" infobar on |
| 144 // deprecated systems. | 147 // deprecated systems. |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. | 303 // Enables or disables emoji, handwriting and voice input on opt-in IME menu. |
| 301 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", | 304 const base::Feature kEHVInputOnImeMenu{"EmojiHandwritingVoiceInput", |
| 302 base::FEATURE_ENABLED_BY_DEFAULT}; | 305 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 303 | 306 |
| 304 // Enables or disables flash component updates on Chrome OS. | 307 // Enables or disables flash component updates on Chrome OS. |
| 305 const base::Feature kCrosCompUpdates{"CrosCompUpdates", | 308 const base::Feature kCrosCompUpdates{"CrosCompUpdates", |
| 306 base::FEATURE_ENABLED_BY_DEFAULT}; | 309 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 307 #endif // defined(OS_CHROMEOS) | 310 #endif // defined(OS_CHROMEOS) |
| 308 | 311 |
| 309 } // namespace features | 312 } // namespace features |
| OLD | NEW |