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

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

Issue 1682993002: Add about:flags entry for scroll anchoring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 10 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
« no previous file with comments | « content/public/common/content_features.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
11 11
12 // Enables brotli "Accept-Encoding" advertising and "Content-Encoding" support. 12 // Enables brotli "Accept-Encoding" advertising and "Content-Encoding" support.
13 // Brotli format specification: http://www.ietf.org/id/draft-alakuijala-brotli 13 // Brotli format specification: http://www.ietf.org/id/draft-alakuijala-brotli
14 const base::Feature kBrotliEncoding{"brotli-encoding", 14 const base::Feature kBrotliEncoding{"brotli-encoding",
15 base::FEATURE_DISABLED_BY_DEFAULT}; 15 base::FEATURE_DISABLED_BY_DEFAULT};
16 16
17 // Downloads resumption will be controllable via a flag until it's enabled 17 // Downloads resumption will be controllable via a flag until it's enabled
18 // permanently. See https://crbug.com/7648 18 // permanently. See https://crbug.com/7648
19 const base::Feature kDownloadResumption{"DownloadResumption", 19 const base::Feature kDownloadResumption{"DownloadResumption",
20 base::FEATURE_DISABLED_BY_DEFAULT}; 20 base::FEATURE_DISABLED_BY_DEFAULT};
21 21
22 // The Experimental Framework for controlling access to API experiments. 22 // The Experimental Framework for controlling access to API experiments.
23 const base::Feature kExperimentalFramework{"ExperimentalFramework", 23 const base::Feature kExperimentalFramework{"ExperimentalFramework",
24 base::FEATURE_DISABLED_BY_DEFAULT}; 24 base::FEATURE_DISABLED_BY_DEFAULT};
25 25
26 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring).
27 const base::Feature kScrollAnchoring{"ScrollAnchoring",
28 base::FEATURE_DISABLED_BY_DEFAULT};
29
26 // Enables token binding 30 // Enables token binding
27 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). 31 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt).
28 const base::Feature kTokenBinding{"token-binding", 32 const base::Feature kTokenBinding{"token-binding",
29 base::FEATURE_DISABLED_BY_DEFAULT}; 33 base::FEATURE_DISABLED_BY_DEFAULT};
30 34
31 // Control whether the priority of a renderer is set when the process is 35 // Control whether the priority of a renderer is set when the process is
32 // launched. This is in response to a bug seen on Windows. See 36 // launched. This is in response to a bug seen on Windows. See
33 // https://crbug.com/560446 37 // https://crbug.com/560446
34 const base::Feature kUpdateRendererPriorityOnStartup{ 38 const base::Feature kUpdateRendererPriorityOnStartup{
35 "UpdateRendererPriorityOnStartup", base::FEATURE_ENABLED_BY_DEFAULT}; 39 "UpdateRendererPriorityOnStartup", base::FEATURE_ENABLED_BY_DEFAULT};
36 40
37 // An experimental User Agent Intervention on WebFonts loading. 41 // An experimental User Agent Intervention on WebFonts loading.
38 const base::Feature kWebFontsIntervention{"WebFontsIntervention", 42 const base::Feature kWebFontsIntervention{"WebFontsIntervention",
39 base::FEATURE_DISABLED_BY_DEFAULT}; 43 base::FEATURE_DISABLED_BY_DEFAULT};
40 44
41 #if defined(OS_ANDROID) 45 #if defined(OS_ANDROID)
42 // FeatureList definition for the Seccomp field trial. 46 // FeatureList definition for the Seccomp field trial.
43 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", 47 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid",
44 base::FEATURE_DISABLED_BY_DEFAULT}; 48 base::FEATURE_DISABLED_BY_DEFAULT};
45 #endif 49 #endif
46 50
47 } // namespace features 51 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698