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

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

Issue 1962263002: Introduce FontCache content scaling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win layout test fix Created 4 years, 7 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 17 matching lines...) Expand all
28 // permanently. See https://crbug.com/7648 28 // permanently. See https://crbug.com/7648
29 const base::Feature kDownloadResumption{"DownloadResumption", 29 const base::Feature kDownloadResumption{"DownloadResumption",
30 base::FEATURE_ENABLED_BY_DEFAULT}; 30 base::FEATURE_ENABLED_BY_DEFAULT};
31 31
32 // Speculatively pre-evaluate Javascript which will likely use document.write to 32 // Speculatively pre-evaluate Javascript which will likely use document.write to
33 // load an external script. The feature extracts the written markup and sends it 33 // load an external script. The feature extracts the written markup and sends it
34 // to the preload scanner. 34 // to the preload scanner.
35 const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator", 35 const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator",
36 base::FEATURE_DISABLED_BY_DEFAULT}; 36 base::FEATURE_DISABLED_BY_DEFAULT};
37 37
38 // Enables a blink::FontCache optimization that reuses a font to serve different
39 // size of font.
kinuko 2016/05/19 14:36:02 nit: a font -> a cached font ? nit: different size
40 const base::Feature kFontCacheScaling{"FontCacheScaling",
41 base::FEATURE_DISABLED_BY_DEFAULT};
42
38 // Can main thread be pipelined with activation. Always disabled for devices 43 // Can main thread be pipelined with activation. Always disabled for devices
39 // with fewer than 4 cores irrespective of this flag. Can also be overridden by 44 // with fewer than 4 cores irrespective of this flag. Can also be overridden by
40 // --enable(disable)-main-frame-before-activation command line flag. 45 // --enable(disable)-main-frame-before-activation command line flag.
41 const base::Feature kMainFrameBeforeActivation{ 46 const base::Feature kMainFrameBeforeActivation{
42 "MainFrameBeforeActivation", base::FEATURE_DISABLED_BY_DEFAULT}; 47 "MainFrameBeforeActivation", base::FEATURE_DISABLED_BY_DEFAULT};
43 48
44 // FeatureList definition for trials to enable the download button on 49 // FeatureList definition for trials to enable the download button on
45 // MediaDocument. 50 // MediaDocument.
46 const base::Feature kMediaDocumentDownloadButton{ 51 const base::Feature kMediaDocumentDownloadButton{
47 "MediaDocumentDownloadButton", 52 "MediaDocumentDownloadButton",
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // we will not use replica editor and do a round trip to renderer to synchronize 121 // we will not use replica editor and do a round trip to renderer to synchronize
117 // with Blink data. 122 // with Blink data.
118 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; 123 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT};
119 124
120 // FeatureList definition for the Seccomp field trial. 125 // FeatureList definition for the Seccomp field trial.
121 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", 126 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid",
122 base::FEATURE_DISABLED_BY_DEFAULT}; 127 base::FEATURE_DISABLED_BY_DEFAULT};
123 #endif 128 #endif
124 129
125 } // namespace features 130 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698