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 |
| 11 #if defined(OS_WIN) || defined(OS_MACOSX) | 11 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 12 // Enables automatic tab discarding, when the system is in low memory state. | 12 // Enables automatic tab discarding, when the system is in low memory state. |
| 13 const base::Feature kAutomaticTabDiscarding{"AutomaticTabDiscarding", | 13 const base::Feature kAutomaticTabDiscarding{"AutomaticTabDiscarding", |
| 14 base::FEATURE_DISABLED_BY_DEFAULT}; | 14 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 15 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 15 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
| 16 | 16 |
| 17 // An experimental fullscreen prototyping an API allowing pages to map browser- | |
| 18 // and system-reserved keybaord shortcuts. | |
|
Matt Giuca
2016/03/21 00:36:07
keyboard
dominickn
2016/03/21 21:58:04
Done.
| |
| 19 const base::Feature kExperimentalFullscreenUI{ | |
| 20 "ExperimentalFullscreenUI", base::FEATURE_DISABLED_BY_DEFAULT | |
| 21 }; | |
| 22 | |
| 17 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) | 23 #if defined(GOOGLE_CHROME_BUILD) && defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 18 // Enables showing the "This computer will no longer receive Google Chrome | 24 // Enables showing the "This computer will no longer receive Google Chrome |
| 19 // updates" infobar instead of the "will soon stop receiving" infobar on | 25 // updates" infobar instead of the "will soon stop receiving" infobar on |
| 20 // deprecated systems. | 26 // deprecated systems. |
| 21 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ | 27 const base::Feature kLinuxObsoleteSystemIsEndOfTheLine{ |
| 22 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; | 28 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 23 #endif | 29 #endif |
| 24 | 30 |
| 25 #if defined(OS_CHROMEOS) | 31 #if defined(OS_CHROMEOS) |
| 26 // Runtime flag that indicates whether this leak detector should be enabled in | 32 // Runtime flag that indicates whether this leak detector should be enabled in |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 37 #if defined(USE_AURA) | 43 #if defined(USE_AURA) |
| 38 // Windows, Linux, Chrome OS. | 44 // Windows, Linux, Chrome OS. |
| 39 base::FEATURE_ENABLED_BY_DEFAULT, | 45 base::FEATURE_ENABLED_BY_DEFAULT, |
| 40 #else | 46 #else |
| 41 // Mac, Android. | 47 // Mac, Android. |
| 42 base::FEATURE_DISABLED_BY_DEFAULT, | 48 base::FEATURE_DISABLED_BY_DEFAULT, |
| 43 #endif | 49 #endif |
| 44 }; | 50 }; |
| 45 | 51 |
| 46 } // namespace features | 52 } // namespace features |
| OLD | NEW |