| 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 namespace features { | 7 namespace features { |
| 8 | 8 |
| 9 // All features in alphabetical order. | 9 // All features in alphabetical order. |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) | 48 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 49 // Enables showing the "This computer will no longer receive Google Chrome | 49 // Enables showing the "This computer will no longer receive Google Chrome |
| 50 // updates" infobar instead of the "will soon stop receiving" infobar on | 50 // updates" infobar instead of the "will soon stop receiving" infobar on |
| 51 // deprecated systems. | 51 // deprecated systems. |
| 52 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ | 52 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ |
| 53 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; | 53 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 // Enables or disables the Material Design version of chrome://history. | 56 // Enables or disables the Material Design version of chrome://history. |
| 57 const base::Feature kMaterialDesignHistoryFeature { | 57 const base::Feature kMaterialDesignHistoryFeature { |
| 58 "MaterialDesignHistory", base::FEATURE_DISABLED_BY_DEFAULT | 58 "MaterialDesignHistory", base::FEATURE_ENABLED_BY_DEFAULT |
| 59 }; | 59 }; |
| 60 | 60 |
| 61 #if defined(OS_CHROMEOS) | 61 #if defined(OS_CHROMEOS) |
| 62 // Runtime flag that indicates whether this leak detector should be enabled in | 62 // Runtime flag that indicates whether this leak detector should be enabled in |
| 63 // the current instance of Chrome. | 63 // the current instance of Chrome. |
| 64 const base::Feature kRuntimeMemoryLeakDetector{ | 64 const base::Feature kRuntimeMemoryLeakDetector{ |
| 65 "RuntimeMemoryLeakDetector", base::FEATURE_DISABLED_BY_DEFAULT}; | 65 "RuntimeMemoryLeakDetector", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 66 #endif // defined(OS_CHROMEOS) | 66 #endif // defined(OS_CHROMEOS) |
| 67 | 67 |
| 68 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", | 68 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", |
| (...skipping 12 matching lines...) Expand all Loading... |
| 81 base::FEATURE_DISABLED_BY_DEFAULT}; | 81 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 82 #endif | 82 #endif |
| 83 | 83 |
| 84 #if defined(OS_CHROMEOS) | 84 #if defined(OS_CHROMEOS) |
| 85 // Enables or disables the opt-in IME menu in the language settings page. | 85 // Enables or disables the opt-in IME menu in the language settings page. |
| 86 const base::Feature kOptInImeMenu{"OptInImeMenu", | 86 const base::Feature kOptInImeMenu{"OptInImeMenu", |
| 87 base::FEATURE_DISABLED_BY_DEFAULT}; | 87 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 88 #endif // defined(OS_CHROMEOS) | 88 #endif // defined(OS_CHROMEOS) |
| 89 | 89 |
| 90 } // namespace features | 90 } // namespace features |
| OLD | NEW |