OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "content/public/common/content_features.h" | 6 #include "content/public/common/content_features.h" |
7 | 7 |
8 namespace features { | 8 namespace features { |
9 | 9 |
10 // All features in alphabetical order. | 10 // All features in alphabetical order. |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
113 | 113 |
114 // Causes the implementations of guests (inner WebContents) to use | 114 // Causes the implementations of guests (inner WebContents) to use |
115 // out-of-process iframes. | 115 // out-of-process iframes. |
116 const base::Feature kGuestViewCrossProcessFrames{ | 116 const base::Feature kGuestViewCrossProcessFrames{ |
117 "GuestViewCrossProcessFrames", base::FEATURE_DISABLED_BY_DEFAULT}; | 117 "GuestViewCrossProcessFrames", base::FEATURE_DISABLED_BY_DEFAULT}; |
118 | 118 |
119 // Enables BlinkGC heap compaction. | 119 // Enables BlinkGC heap compaction. |
120 const base::Feature kHeapCompaction{"HeapCompaction", | 120 const base::Feature kHeapCompaction{"HeapCompaction", |
121 base::FEATURE_DISABLED_BY_DEFAULT}; | 121 base::FEATURE_DISABLED_BY_DEFAULT}; |
122 | 122 |
123 // Enables eviction of janky frames that occur on Android during fullscreen | |
124 // transitions. | |
125 const base::Feature kHideFullscreenTransitionJank{ | |
126 "HideFullscreenTransitionJank", base::FEATURE_ENABLED_BY_DEFAULT}; | |
mlamouri (slow - plz ping)
2017/07/05 13:55:31
You might want to make it DISABLED_BY_DEFAULT as I
| |
127 | |
123 // Enables Blink's idle time spell checker. | 128 // Enables Blink's idle time spell checker. |
124 // Design: https://goo.gl/zONC3v | 129 // Design: https://goo.gl/zONC3v |
125 // Note: The feature is implemented in Blink, and is independent to the | 130 // Note: The feature is implemented in Blink, and is independent to the |
126 // ENABLE_SPELLCHECK build flag defined in components/spellcheck. | 131 // ENABLE_SPELLCHECK build flag defined in components/spellcheck. |
127 const base::Feature kIdleTimeSpellChecking{"IdleTimeSpellChecking", | 132 const base::Feature kIdleTimeSpellChecking{"IdleTimeSpellChecking", |
128 base::FEATURE_DISABLED_BY_DEFAULT}; | 133 base::FEATURE_DISABLED_BY_DEFAULT}; |
129 | 134 |
130 // Enables lazily parsing css properties for performance. | 135 // Enables lazily parsing css properties for performance. |
131 const base::Feature kLazyParseCSS{"LazyParseCSS", | 136 const base::Feature kLazyParseCSS{"LazyParseCSS", |
132 base::FEATURE_DISABLED_BY_DEFAULT}; | 137 base::FEATURE_DISABLED_BY_DEFAULT}; |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
399 #endif | 404 #endif |
400 | 405 |
401 #if defined(OS_MACOSX) | 406 #if defined(OS_MACOSX) |
402 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the | 407 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the |
403 // entire life of the process. | 408 // entire life of the process. |
404 const base::Feature kMacV2Sandbox{"MacV2Sandbox", | 409 const base::Feature kMacV2Sandbox{"MacV2Sandbox", |
405 base::FEATURE_DISABLED_BY_DEFAULT}; | 410 base::FEATURE_DISABLED_BY_DEFAULT}; |
406 #endif // defined(OS_MACOSX) | 411 #endif // defined(OS_MACOSX) |
407 | 412 |
408 } // namespace features | 413 } // namespace features |
OLD | NEW |