Chromium Code Reviews| 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 #include "chrome/common/chrome_features.h" | 5 #include "chrome/common/chrome_features.h" |
| 6 | 6 |
| 7 namespace features { | 7 namespace features { |
| 8 | 8 |
| 9 // All features in alphabetical order. | 9 // All features in alphabetical order. |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 46 #endif | 46 #endif |
| 47 | 47 |
| 48 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) | 48 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 49 // Enables showing the "This computer will no longer receive Google Chrome | 49 // Enables showing the "This computer will no longer receive Google Chrome |
| 50 // updates" infobar instead of the "will soon stop receiving" infobar on | 50 // updates" infobar instead of the "will soon stop receiving" infobar on |
| 51 // deprecated systems. | 51 // deprecated systems. |
| 52 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ | 52 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ |
| 53 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; | 53 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 54 #endif | 54 #endif |
| 55 | 55 |
| 56 // Enables Flash videos to be overriden | |
| 57 const base::Feature kOverrideFlashEmbed{"override-flash-emed", | |
| 58 base::FEATURE_ENABLED_BY_DEFAULT}; | |
|
mlamouri (slow - plz ping)
2016/07/28 13:05:12
style: you should align the " of line 57 with the
kdsilva
2016/07/28 15:17:16
Done.
| |
| 59 | |
| 56 // Enables or disables the Material Design version of chrome://history. | 60 // Enables or disables the Material Design version of chrome://history. |
| 57 const base::Feature kMaterialDesignHistoryFeature { | 61 const base::Feature kMaterialDesignHistoryFeature { |
| 58 "MaterialDesignHistory", base::FEATURE_DISABLED_BY_DEFAULT | 62 "MaterialDesignHistory", base::FEATURE_DISABLED_BY_DEFAULT |
| 59 }; | 63 }; |
| 60 | 64 |
| 61 // Enables or disables the Material Design version of chrome://settings. | 65 // Enables or disables the Material Design version of chrome://settings. |
| 62 // Also affects chrome://help. | 66 // Also affects chrome://help. |
| 63 const base::Feature kMaterialDesignSettingsFeature{ | 67 const base::Feature kMaterialDesignSettingsFeature{ |
| 64 "MaterialDesignSettings", base::FEATURE_DISABLED_BY_DEFAULT}; | 68 "MaterialDesignSettings", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 65 | 69 |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 86 base::FEATURE_DISABLED_BY_DEFAULT}; | 90 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 87 #endif | 91 #endif |
| 88 | 92 |
| 89 #if defined(OS_CHROMEOS) | 93 #if defined(OS_CHROMEOS) |
| 90 // Enables or disables the opt-in IME menu in the language settings page. | 94 // Enables or disables the opt-in IME menu in the language settings page. |
| 91 const base::Feature kOptInImeMenu{"OptInImeMenu", | 95 const base::Feature kOptInImeMenu{"OptInImeMenu", |
| 92 base::FEATURE_ENABLED_BY_DEFAULT}; | 96 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 93 #endif // defined(OS_CHROMEOS) | 97 #endif // defined(OS_CHROMEOS) |
| 94 | 98 |
| 95 } // namespace features | 99 } // namespace features |
| OLD | NEW |