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 11 matching lines...) Expand all Loading... |
22 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; | 22 "LinuxObsoleteSystemIsEndOfTheLine", base::FEATURE_DISABLED_BY_DEFAULT}; |
23 #endif | 23 #endif |
24 | 24 |
25 #if defined(OS_CHROMEOS) | 25 #if defined(OS_CHROMEOS) |
26 // Runtime flag that indicates whether this leak detector should be enabled in | 26 // Runtime flag that indicates whether this leak detector should be enabled in |
27 // the current instance of Chrome. | 27 // the current instance of Chrome. |
28 const base::Feature kRuntimeMemoryLeakDetector{ | 28 const base::Feature kRuntimeMemoryLeakDetector{ |
29 "RuntimeMemoryLeakDetector", base::FEATURE_DISABLED_BY_DEFAULT}; | 29 "RuntimeMemoryLeakDetector", base::FEATURE_DISABLED_BY_DEFAULT}; |
30 #endif // defined(OS_CHROMEOS) | 30 #endif // defined(OS_CHROMEOS) |
31 | 31 |
| 32 // A new user experience for transitioning into fullscreen and mouse pointer |
| 33 // lock states. The name is a misnomer (for historical reasons); affects both |
| 34 // Views and Android builds. |
| 35 const base::Feature kSimplifiedFullscreenUI{ |
| 36 "ViewsSimplifiedFullscreenUI", |
| 37 #if defined(USE_AURA) |
| 38 // Windows, Linux, Chrome OS. |
| 39 base::FEATURE_ENABLED_BY_DEFAULT, |
| 40 #else |
| 41 // Mac, Android. |
| 42 base::FEATURE_DISABLED_BY_DEFAULT, |
| 43 #endif |
| 44 }; |
| 45 |
32 } // namespace features | 46 } // namespace features |
OLD | NEW |