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 // This file defines all the public base::FeatureList features for the chrome | 5 // This file defines all the public base::FeatureList features for the chrome |
6 // module. | 6 // module. |
7 | 7 |
8 #ifndef CHROME_COMMON_CHROME_FEATURES_H_ | 8 #ifndef CHROME_COMMON_CHROME_FEATURES_H_ |
9 #define CHROME_COMMON_CHROME_FEATURES_H_ | 9 #define CHROME_COMMON_CHROME_FEATURES_H_ |
10 | 10 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 #if defined(OS_WIN) || defined(OS_LINUX) | 43 #if defined(OS_WIN) || defined(OS_LINUX) |
44 extern const base::Feature kBackgroundModeAllowRestart; | 44 extern const base::Feature kBackgroundModeAllowRestart; |
45 #endif // defined(OS_WIN) || defined(OS_LINUX) | 45 #endif // defined(OS_WIN) || defined(OS_LINUX) |
46 | 46 |
47 extern const base::Feature kBackspaceGoesBackFeature; | 47 extern const base::Feature kBackspaceGoesBackFeature; |
48 | 48 |
49 extern const base::Feature kBlockPromptsIfDismissedOften; | 49 extern const base::Feature kBlockPromptsIfDismissedOften; |
50 | 50 |
51 extern const base::Feature kBrowserHangFixesExperiment; | 51 extern const base::Feature kBrowserHangFixesExperiment; |
52 | 52 |
| 53 #if defined(OS_MACOSX) |
| 54 extern const base::Feature kBrowserTouchBar; |
| 55 #endif // defined(OS_MACOSX) |
| 56 |
53 #if defined(OS_ANDROID) | 57 #if defined(OS_ANDROID) |
54 extern const base::Feature kConsistentOmniboxGeolocation; | 58 extern const base::Feature kConsistentOmniboxGeolocation; |
55 #endif | 59 #endif |
56 | 60 |
57 #if defined(OS_WIN) | 61 #if defined(OS_WIN) |
58 extern const base::Feature kDesktopIOSPromotion; | 62 extern const base::Feature kDesktopIOSPromotion; |
59 extern const base::Feature kDisableFirstRunAutoImportWin; | 63 extern const base::Feature kDisableFirstRunAutoImportWin; |
60 #endif // defined(OS_WIN) | 64 #endif // defined(OS_WIN) |
61 | 65 |
62 extern const base::Feature kDisplayPersistenceToggleInPermissionPrompts; | 66 extern const base::Feature kDisplayPersistenceToggleInPermissionPrompts; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 | 164 |
161 extern const base::Feature kCrosCompUpdates; | 165 extern const base::Feature kCrosCompUpdates; |
162 #endif // defined(OS_CHROMEOS) | 166 #endif // defined(OS_CHROMEOS) |
163 | 167 |
164 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 168 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
165 // alphabetical order, or in one of the ifdefs (also in order in each section). | 169 // alphabetical order, or in one of the ifdefs (also in order in each section). |
166 | 170 |
167 } // namespace features | 171 } // namespace features |
168 | 172 |
169 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 173 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
OLD | NEW |