| 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 "build/build_config.h" |
| 12 #include "chrome/common/features.h" | 13 #include "chrome/common/features.h" |
| 13 #include "extensions/features/features.h" | 14 #include "extensions/features/features.h" |
| 14 #include "ppapi/features/features.h" | 15 #include "ppapi/features/features.h" |
| 15 #include "printing/features/features.h" | 16 #include "printing/features/features.h" |
| 16 | 17 |
| 17 namespace features { | 18 namespace features { |
| 18 | 19 |
| 19 // All features in alphabetical order. The features should be documented | 20 // All features in alphabetical order. The features should be documented |
| 20 // alongside the definition of their values in the .cc file. | 21 // alongside the definition of their values in the .cc file. |
| 21 | 22 |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 extern const base::Feature kSafeSearchUrlReporting; | 177 extern const base::Feature kSafeSearchUrlReporting; |
| 177 | 178 |
| 178 extern const base::Feature kSimplifiedFullscreenUI; | 179 extern const base::Feature kSimplifiedFullscreenUI; |
| 179 | 180 |
| 180 extern const base::Feature kSiteDetails; | 181 extern const base::Feature kSiteDetails; |
| 181 | 182 |
| 182 #if defined(OS_ANDROID) | 183 #if defined(OS_ANDROID) |
| 183 extern const base::Feature kSiteNotificationChannels; | 184 extern const base::Feature kSiteNotificationChannels; |
| 184 #endif | 185 #endif |
| 185 | 186 |
| 187 #if !defined(OS_ANDROID) |
| 188 extern const base::Feature kStaggeredBackgroundTabOpen; |
| 189 #endif |
| 190 |
| 186 extern const base::Feature kSupervisedUserCreation; | 191 extern const base::Feature kSupervisedUserCreation; |
| 187 | 192 |
| 188 #if defined(SYZYASAN) | 193 #if defined(SYZYASAN) |
| 189 extern const base::Feature kSyzyasanDeferredFree; | 194 extern const base::Feature kSyzyasanDeferredFree; |
| 190 #endif | 195 #endif |
| 191 | 196 |
| 192 extern const base::Feature kTabsInCbd; | 197 extern const base::Feature kTabsInCbd; |
| 193 | 198 |
| 194 extern const base::Feature kUseGoogleLocalNtp; | 199 extern const base::Feature kUseGoogleLocalNtp; |
| 195 | 200 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 216 #endif // defined(OS_CHROMEOS) | 221 #endif // defined(OS_CHROMEOS) |
| 217 | 222 |
| 218 bool PrefServiceEnabled(); | 223 bool PrefServiceEnabled(); |
| 219 | 224 |
| 220 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 225 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 221 // alphabetical order, or in one of the ifdefs (also in order in each section). | 226 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 222 | 227 |
| 223 } // namespace features | 228 } // namespace features |
| 224 | 229 |
| 225 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 230 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
| OLD | NEW |