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 |
11 #include "base/feature_list.h" | 11 #include "base/feature_list.h" |
12 | 12 |
13 namespace features { | 13 namespace features { |
14 | 14 |
15 // All features in alphabetical order. The features should be documented | 15 // All features in alphabetical order. The features should be documented |
16 // alongside the definition of their values in the .cc file. | 16 // alongside the definition of their values in the .cc file. |
17 | 17 |
18 #if defined(OS_WIN) || defined(OS_MACOSX) | 18 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
19 extern const base::Feature kAutomaticTabDiscarding; | 19 extern const base::Feature kAutomaticTabDiscarding; |
20 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 20 #endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) |
21 | 21 |
22 extern const base::Feature kExpectCTReporting; | 22 extern const base::Feature kExpectCTReporting; |
23 | 23 |
24 extern const base::Feature kExperimentalKeyboardLockUI; | 24 extern const base::Feature kExperimentalKeyboardLockUI; |
25 | 25 |
26 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) | 26 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) |
27 extern const base::Feature kLinuxObsoleteSystemIsEndOfTheLine; | 27 extern const base::Feature kLinuxObsoleteSystemIsEndOfTheLine; |
28 #endif | 28 #endif |
29 | 29 |
30 extern const base::Feature kMaterialDesignHistoryFeature; | 30 extern const base::Feature kMaterialDesignHistoryFeature; |
(...skipping 13 matching lines...) Expand all Loading... |
44 #if defined(OS_CHROMEOS) | 44 #if defined(OS_CHROMEOS) |
45 extern const base::Feature kOptInImeMenu; | 45 extern const base::Feature kOptInImeMenu; |
46 #endif // defined(OS_CHROMEOS) | 46 #endif // defined(OS_CHROMEOS) |
47 | 47 |
48 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 48 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
49 // alphabetical order, or in one of the ifdefs (also in order in each section). | 49 // alphabetical order, or in one of the ifdefs (also in order in each section). |
50 | 50 |
51 } // namespace features | 51 } // namespace features |
52 | 52 |
53 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 53 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
OLD | NEW |