summaryrefslogtreecommitdiff
path: root/chromium/content/public/common/content_features.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-12 14:27:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-13 09:35:20 +0000
commitc30a6232df03e1efbd9f3b226777b07e087a1122 (patch)
treee992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/content/public/common/content_features.cc
parent7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff)
downloadqtwebengine-chromium-85-based.tar.gz
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/content/public/common/content_features.cc')
-rw-r--r--chromium/content/public/common/content_features.cc71
1 files changed, 34 insertions, 37 deletions
diff --git a/chromium/content/public/common/content_features.cc b/chromium/content/public/common/content_features.cc
index cbe291d39b8..87b1ee17b48 100644
--- a/chromium/content/public/common/content_features.cc
+++ b/chromium/content/public/common/content_features.cc
@@ -110,11 +110,6 @@ const base::Feature kCacheStorageParallelOps{"CacheStorageParallelOps",
const base::Feature kCacheStorageEagerReading{
"CacheStorageEagerReading", base::FEATURE_DISABLED_BY_DEFAULT};
-// Enables scheduling the operation at high priority when a cache.match() is
-// initiated from a FetchEvent handler with a matching request URL.
-const base::Feature kCacheStorageHighPriorityMatch{
- "CacheStorageHighPriorityMatch", base::FEATURE_ENABLED_BY_DEFAULT};
-
// If Canvas2D Image Chromium is allowed, this feature controls whether it is
// enabled.
const base::Feature kCanvas2DImageChromium {
@@ -130,6 +125,9 @@ const base::Feature kCanvas2DImageChromium {
const base::Feature kCanvasOopRasterization{"CanvasOopRasterization",
base::FEATURE_DISABLED_BY_DEFAULT};
+const base::Feature kClickPointerEvent{"ClickPointerEvent",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
// When enabled, code cache does not use a browsing_data filter for deletions.
extern const base::Feature kCodeCacheDeletionWithoutFilter{
"CodeCacheDeletionWithoutFilter", base::FEATURE_DISABLED_BY_DEFAULT};
@@ -265,21 +263,13 @@ const base::Feature kHistoryPreventSandboxedNavigation{
const base::Feature kIdleDetection{"IdleDetection",
base::FEATURE_ENABLED_BY_DEFAULT};
-// This flag is used to set field parameters to choose predictor we use when
-// kResamplingInputEvents is disabled. It's used for gatherig accuracy metrics
-// on finch and also for choosing predictor type for predictedEvents API without
-// enabling resampling. It does not have any effect when the resampling flag is
-// enabled.
-const base::Feature kInputPredictorTypeChoice{
- "InputPredictorTypeChoice", base::FEATURE_DISABLED_BY_DEFAULT};
-
// Kill switch for the GetInstalledRelatedApps API.
const base::Feature kInstalledApp{"InstalledApp",
base::FEATURE_ENABLED_BY_DEFAULT};
// Allow Windows specific implementation for the GetInstalledRelatedApps API.
const base::Feature kInstalledAppProvider{"InstalledAppProvider",
- base::FEATURE_DISABLED_BY_DEFAULT};
+ base::FEATURE_ENABLED_BY_DEFAULT};
// Show warning about clearing data from installed apps in the clear browsing
// data flow. The warning will be shown in a second dialog.
@@ -324,8 +314,14 @@ const base::Feature kLazyInitializeMediaControls{
const base::Feature kLegacyWindowsDWriteFontFallback{
"LegacyWindowsDWriteFontFallback", base::FEATURE_DISABLED_BY_DEFAULT};
-const base::Feature kLogJsConsoleMessages{"LogJsConsoleMessages",
- base::FEATURE_DISABLED_BY_DEFAULT};
+const base::Feature kLogJsConsoleMessages {
+ "LogJsConsoleMessages",
+#if defined(OS_ANDROID)
+ base::FEATURE_DISABLED_BY_DEFAULT
+#else
+ base::FEATURE_ENABLED_BY_DEFAULT
+#endif
+};
// Enables lowering the priority of the resources in iframes.
const base::Feature kLowPriorityIframes{"LowPriorityIframes",
@@ -404,10 +400,6 @@ const base::Feature kOverscrollHistoryNavigation {
#endif
};
-// Whether ParkableStrings in blink can be written out to disk.
-const base::Feature kParkableStringsToDisk{"ParkableStringsToDisk",
- base::FEATURE_DISABLED_BY_DEFAULT};
-
// Whether web apps can run periodic tasks upon network connectivity.
const base::Feature kPeriodicBackgroundSync{"PeriodicBackgroundSync",
base::FEATURE_DISABLED_BY_DEFAULT};
@@ -506,9 +498,10 @@ const base::Feature kRenderDocument{"RenderDocument",
const base::Feature kRequestUnbufferedDispatch{
"RequestUnbufferedDispatch", base::FEATURE_ENABLED_BY_DEFAULT};
-// Enables resampling input events on main thread.
-const base::Feature kResamplingInputEvents{"ResamplingInputEvents",
- base::FEATURE_DISABLED_BY_DEFAULT};
+// Respect the MacOS system setting for subpixel text anti-aliasing.
+// https://crbug.com/1079418.
+const base::Feature kRespectMacLCDTextSetting{
+ "RespectMacLCDTextSetting", base::FEATURE_DISABLED_BY_DEFAULT};
// Run video capture service in the Browser process as opposed to a dedicated
// utility process
@@ -609,9 +602,19 @@ const base::Feature kSiteIsolationEnforcementForFileSystemApi{
const base::Feature kSpareRendererForSitePerProcess{
"SpareRendererForSitePerProcess", base::FEATURE_ENABLED_BY_DEFAULT};
+// Enables Storage Pressure Event.
+const base::Feature kStoragePressureEvent{"StoragePressureEvent",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
// Enables Storage Pressure notifications and settings pages.
-const base::Feature kStoragePressureUI{"StoragePressureUI",
- base::FEATURE_DISABLED_BY_DEFAULT};
+const base::Feature kStoragePressureUI {
+ "StoragePressureUI",
+#if defined(OS_ANDROID)
+ base::FEATURE_DISABLED_BY_DEFAULT
+#else
+ base::FEATURE_ENABLED_BY_DEFAULT
+#endif
+};
// Enables the out-of-process Storage Service.
const base::Feature kStorageServiceOutOfProcess{
@@ -627,6 +630,10 @@ const base::Feature kStorageServiceSandbox{"StorageServiceSandbox",
const base::Feature kStrictOriginIsolation{"StrictOriginIsolation",
base::FEATURE_DISABLED_BY_DEFAULT};
+// Enables subresource loading with Web Bundles.
+const base::Feature kSubresourceWebBundles{"SubresourceWebBundles",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
// Dispatch touch events to "SyntheticGestureController" for events from
// Devtool Protocol Input.dispatchTouchEvent to simulate touch events close to
// real OS events.
@@ -687,23 +694,13 @@ const base::Feature kUserAgentClientHint{"UserAgentClientHint",
const base::Feature kVideoPlaybackQuality{"VideoPlaybackQuality",
base::FEATURE_ENABLED_BY_DEFAULT};
-// Enables V8's low memory mode for subframes. This is used only
-// in conjunction with the --site-per-process feature.
-const base::Feature kV8LowMemoryModeForSubframes{
- "V8LowMemoryModeForSubframes", base::FEATURE_DISABLED_BY_DEFAULT};
-
// Enables future V8 VM features
const base::Feature kV8VmFuture{"V8VmFuture",
base::FEATURE_DISABLED_BY_DEFAULT};
-// Enable WebAssembly baseline compilation and tier up.
+// Enable WebAssembly baseline compilation (Liftoff).
const base::Feature kWebAssemblyBaseline{"WebAssemblyBaseline",
-#ifdef ARCH_CPU_X86_FAMILY
- base::FEATURE_ENABLED_BY_DEFAULT
-#else
- base::FEATURE_DISABLED_BY_DEFAULT
-#endif
-};
+ base::FEATURE_ENABLED_BY_DEFAULT};
// Enable WebAssembly lazy compilation (JIT on first call).
const base::Feature kWebAssemblyLazyCompilation{