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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_ENABLED_BY_DEFAULT | 58 "MaterialDesignHistory", base::FEATURE_ENABLED_BY_DEFAULT |
59 }; | 59 }; |
60 | 60 |
61 // Enables or disables the Material Design version of chrome://settings. | 61 // Enables or disables the Material Design version of chrome://settings. |
62 // Also affects chrome://help. | 62 // Also affects chrome://help. |
63 const base::Feature kMaterialDesignSettingsFeature{ | 63 const base::Feature kMaterialDesignSettingsFeature{ |
64 "MaterialDesignSettings", base::FEATURE_DISABLED_BY_DEFAULT}; | 64 "MaterialDesignSettings", base::FEATURE_DISABLED_BY_DEFAULT}; |
65 | 65 |
| 66 // Prefer HTML content by hiding Flash from the list of plugins. |
| 67 // https://crbug.com/626728 |
| 68 const base::Feature kPreferHtmlOverPlugins{"PreferHtmlOverPlugins", |
| 69 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 70 |
66 #if defined(OS_CHROMEOS) | 71 #if defined(OS_CHROMEOS) |
67 // Runtime flag that indicates whether this leak detector should be enabled in | 72 // Runtime flag that indicates whether this leak detector should be enabled in |
68 // the current instance of Chrome. | 73 // the current instance of Chrome. |
69 const base::Feature kRuntimeMemoryLeakDetector{ | 74 const base::Feature kRuntimeMemoryLeakDetector{ |
70 "RuntimeMemoryLeakDetector", base::FEATURE_DISABLED_BY_DEFAULT}; | 75 "RuntimeMemoryLeakDetector", base::FEATURE_DISABLED_BY_DEFAULT}; |
71 #endif // defined(OS_CHROMEOS) | 76 #endif // defined(OS_CHROMEOS) |
72 | 77 |
73 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", | 78 const base::Feature kSafeSearchUrlReporting{"SafeSearchUrlReporting", |
74 base::FEATURE_DISABLED_BY_DEFAULT}; | 79 base::FEATURE_DISABLED_BY_DEFAULT}; |
75 | 80 |
(...skipping 14 matching lines...) Expand all Loading... |
90 base::FEATURE_DISABLED_BY_DEFAULT}; | 95 base::FEATURE_DISABLED_BY_DEFAULT}; |
91 #endif | 96 #endif |
92 | 97 |
93 #if defined(OS_CHROMEOS) | 98 #if defined(OS_CHROMEOS) |
94 // Enables or disables the opt-in IME menu in the language settings page. | 99 // Enables or disables the opt-in IME menu in the language settings page. |
95 const base::Feature kOptInImeMenu{"OptInImeMenu", | 100 const base::Feature kOptInImeMenu{"OptInImeMenu", |
96 base::FEATURE_DISABLED_BY_DEFAULT}; | 101 base::FEATURE_DISABLED_BY_DEFAULT}; |
97 #endif // defined(OS_CHROMEOS) | 102 #endif // defined(OS_CHROMEOS) |
98 | 103 |
99 } // namespace features | 104 } // namespace features |
OLD | NEW |