Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(662)

Side by Side Diff: content/public/common/content_features.cc

Issue 2170233002: Revert of Default enable main frame before activation and remove finch experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 26 matching lines...) Expand all
37 // load an external script. The feature extracts the written markup and sends it 37 // load an external script. The feature extracts the written markup and sends it
38 // to the preload scanner. 38 // to the preload scanner.
39 const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator", 39 const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator",
40 base::FEATURE_DISABLED_BY_DEFAULT}; 40 base::FEATURE_DISABLED_BY_DEFAULT};
41 41
42 // Enables a blink::FontCache optimization that reuses a font to serve different 42 // Enables a blink::FontCache optimization that reuses a font to serve different
43 // size of font. 43 // size of font.
44 const base::Feature kFontCacheScaling{"FontCacheScaling", 44 const base::Feature kFontCacheScaling{"FontCacheScaling",
45 base::FEATURE_DISABLED_BY_DEFAULT}; 45 base::FEATURE_DISABLED_BY_DEFAULT};
46 46
47 // Can main thread be pipelined with activation. Always disabled for devices
48 // with fewer than 4 cores irrespective of this flag. Can also be overridden by
49 // --enable(disable)-main-frame-before-activation command line flag.
50 const base::Feature kMainFrameBeforeActivation{
51 "MainFrameBeforeActivation", base::FEATURE_DISABLED_BY_DEFAULT};
52
47 // FeatureList definition for trials to enable the download button on 53 // FeatureList definition for trials to enable the download button on
48 // MediaDocument. 54 // MediaDocument.
49 const base::Feature kMediaDocumentDownloadButton{ 55 const base::Feature kMediaDocumentDownloadButton{
50 "MediaDocumentDownloadButton", 56 "MediaDocumentDownloadButton",
51 base::FEATURE_DISABLED_BY_DEFAULT 57 base::FEATURE_DISABLED_BY_DEFAULT
52 }; 58 };
53 59
54 // Enable the material design playback UI for media elements. This is always 60 // Enable the material design playback UI for media elements. This is always
55 // on for OS_ANDROID, but may be enabled by experiment for other platforms. 61 // on for OS_ANDROID, but may be enabled by experiment for other platforms.
56 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi", 62 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi",
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 #endif 157 #endif
152 158
153 #if defined(OS_WIN) 159 #if defined(OS_WIN)
154 // Emergency "off switch" for new Windows sandbox security mitigation, 160 // Emergency "off switch" for new Windows sandbox security mitigation,
155 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 161 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
156 const base::Feature kWinSboxDisableExtensionPoints{ 162 const base::Feature kWinSboxDisableExtensionPoints{
157 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 163 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
158 #endif 164 #endif
159 165
160 } // namespace features 166 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | testing/variations/fieldtrial_testing_config_android.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698