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 #include "extensions/features/features.h" |
12 #include "printing/features/features.h" | 13 #include "printing/features/features.h" |
13 | 14 |
14 namespace features { | 15 namespace features { |
15 | 16 |
16 // All features in alphabetical order. The features should be documented | 17 // All features in alphabetical order. The features should be documented |
17 // alongside the definition of their values in the .cc file. | 18 // alongside the definition of their values in the .cc file. |
18 | 19 |
19 #if defined(OS_MACOSX) | 20 #if defined(OS_MACOSX) |
20 extern const base::Feature kAppleScriptExecuteJavaScript; | 21 extern const base::Feature kAppleScriptExecuteJavaScript; |
21 #endif // defined(OS_MACOSX) | 22 #endif // defined(OS_MACOSX) |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 #if defined(OS_CHROMEOS) | 62 #if defined(OS_CHROMEOS) |
62 extern const base::Feature kHappinessTrackingSystem; | 63 extern const base::Feature kHappinessTrackingSystem; |
63 #endif | 64 #endif |
64 | 65 |
65 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) | 66 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) |
66 extern const base::Feature kLinuxObsoleteSystemIsEndOfTheLine; | 67 extern const base::Feature kLinuxObsoleteSystemIsEndOfTheLine; |
67 #endif | 68 #endif |
68 | 69 |
69 extern const base::Feature kMaterialDesignBookmarks; | 70 extern const base::Feature kMaterialDesignBookmarks; |
70 | 71 |
71 #if defined(ENABLE_EXTENSIONS) | 72 #if BUILDFLAG(ENABLE_EXTENSIONS) |
72 extern const base::Feature kMaterialDesignExtensions; | 73 extern const base::Feature kMaterialDesignExtensions; |
73 #endif | 74 #endif |
74 | 75 |
75 extern const base::Feature kMaterialDesignHistory; | 76 extern const base::Feature kMaterialDesignHistory; |
76 | 77 |
77 extern const base::Feature kMaterialDesignSettings; | 78 extern const base::Feature kMaterialDesignSettings; |
78 | 79 |
79 extern const base::Feature kModalPermissionPrompts; | 80 extern const base::Feature kModalPermissionPrompts; |
80 | 81 |
81 #if defined(OS_MACOSX) | 82 #if defined(OS_MACOSX) |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 | 124 |
124 extern const base::Feature kEHVInputOnImeMenu; | 125 extern const base::Feature kEHVInputOnImeMenu; |
125 #endif // defined(OS_CHROMEOS) | 126 #endif // defined(OS_CHROMEOS) |
126 | 127 |
127 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 128 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
128 // alphabetical order, or in one of the ifdefs (also in order in each section). | 129 // alphabetical order, or in one of the ifdefs (also in order in each section). |
129 | 130 |
130 } // namespace features | 131 } // namespace features |
131 | 132 |
132 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 133 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
OLD | NEW |