| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 #if defined(ENABLE_EXTENSIONS) | 56 #if defined(ENABLE_EXTENSIONS) |
| 57 extern const base::Feature kMaterialDesignExtensions; | 57 extern const base::Feature kMaterialDesignExtensions; |
| 58 #endif | 58 #endif |
| 59 | 59 |
| 60 extern const base::Feature kMaterialDesignHistory; | 60 extern const base::Feature kMaterialDesignHistory; |
| 61 | 61 |
| 62 extern const base::Feature kMaterialDesignSettings; | 62 extern const base::Feature kMaterialDesignSettings; |
| 63 | 63 |
| 64 #if defined(ENABLE_PLUGINS) |
| 64 extern const base::Feature kPreferHtmlOverPlugins; | 65 extern const base::Feature kPreferHtmlOverPlugins; |
| 66 #endif |
| 65 | 67 |
| 66 extern const base::Feature kOverrideYouTubeFlashEmbed; | 68 extern const base::Feature kOverrideYouTubeFlashEmbed; |
| 67 | 69 |
| 68 extern const base::Feature kPushMessagingBackgroundMode; | 70 extern const base::Feature kPushMessagingBackgroundMode; |
| 69 | 71 |
| 70 #if defined(OS_CHROMEOS) | 72 #if defined(OS_CHROMEOS) |
| 71 extern const base::Feature kRuntimeMemoryLeakDetector; | 73 extern const base::Feature kRuntimeMemoryLeakDetector; |
| 72 #endif // defined(OS_CHROMEOS) | 74 #endif // defined(OS_CHROMEOS) |
| 73 | 75 |
| 76 #if defined(ENABLE_PLUGINS) |
| 77 extern const base::Feature kRunAllFlashInAllowMode; |
| 78 #endif |
| 79 |
| 74 extern const base::Feature kSafeSearchUrlReporting; | 80 extern const base::Feature kSafeSearchUrlReporting; |
| 75 | 81 |
| 76 extern const base::Feature kSimplifiedFullscreenUI; | 82 extern const base::Feature kSimplifiedFullscreenUI; |
| 77 | 83 |
| 78 #if defined(SYZYASAN) | 84 #if defined(SYZYASAN) |
| 79 extern const base::Feature kSyzyasanDeferredFree; | 85 extern const base::Feature kSyzyasanDeferredFree; |
| 80 #endif | 86 #endif |
| 81 | 87 |
| 82 #if defined(OS_CHROMEOS) | 88 #if defined(OS_CHROMEOS) |
| 83 extern const base::Feature kOptInImeMenu; | 89 extern const base::Feature kOptInImeMenu; |
| 84 | 90 |
| 85 extern const base::Feature kQuickUnlockPin; | 91 extern const base::Feature kQuickUnlockPin; |
| 86 | 92 |
| 87 extern const base::Feature kEHVInputOnImeMenu; | 93 extern const base::Feature kEHVInputOnImeMenu; |
| 88 #endif // defined(OS_CHROMEOS) | 94 #endif // defined(OS_CHROMEOS) |
| 89 | 95 |
| 90 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 96 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
| 91 // alphabetical order, or in one of the ifdefs (also in order in each section). | 97 // alphabetical order, or in one of the ifdefs (also in order in each section). |
| 92 | 98 |
| 93 } // namespace features | 99 } // namespace features |
| 94 | 100 |
| 95 #endif // CHROME_COMMON_CHROME_FEATURES_H_ | 101 #endif // CHROME_COMMON_CHROME_FEATURES_H_ |
| OLD | NEW |