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

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

Issue 2468323002: Enable compositing opaque fixed position elements which will maintain LCD text. (Closed)
Patch Set: Created 4 years, 1 month 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.
11 11
12 // Enables asm.js to WebAssembly V8 backend. 12 // Enables asm.js to WebAssembly V8 backend.
13 // http://asmjs.org/spec/latest/ 13 // http://asmjs.org/spec/latest/
14 const base::Feature kAsmJsToWebAssembly{"AsmJsToWebAssembly", 14 const base::Feature kAsmJsToWebAssembly{"AsmJsToWebAssembly",
15 base::FEATURE_DISABLED_BY_DEFAULT}; 15 base::FEATURE_DISABLED_BY_DEFAULT};
16 16
17 // Enables brotli "Accept-Encoding" advertising and "Content-Encoding" support. 17 // Enables brotli "Accept-Encoding" advertising and "Content-Encoding" support.
18 // Brotli format specification: http://www.ietf.org/id/draft-alakuijala-brotli 18 // Brotli format specification: http://www.ietf.org/id/draft-alakuijala-brotli
19 const base::Feature kBrotliEncoding{"brotli-encoding", 19 const base::Feature kBrotliEncoding{"brotli-encoding",
20 base::FEATURE_ENABLED_BY_DEFAULT}; 20 base::FEATURE_ENABLED_BY_DEFAULT};
21 21
22 // If Canvas2D Image Chromium is allowed, this feature controls whether it is 22 // If Canvas2D Image Chromium is allowed, this feature controls whether it is
23 // enabled. 23 // enabled.
24 const base::Feature kCanvas2DImageChromium{"Canvas2DImageChromium", 24 const base::Feature kCanvas2DImageChromium{"Canvas2DImageChromium",
25 base::FEATURE_ENABLED_BY_DEFAULT}; 25 base::FEATURE_ENABLED_BY_DEFAULT};
26 26
27 // Enables the compositing of fixed position content that is opaque and can
28 // preserve LCD text.
29 const base::Feature kCompositeOpaqueFixedPosition{
30 "CompositeOpaqueFixedPosition", base::FEATURE_ENABLED_BY_DEFAULT};
31
27 // Enables the compositing of scrolling content that supports painting the 32 // Enables the compositing of scrolling content that supports painting the
28 // background with the foreground, such that LCD text will still be enabled. 33 // background with the foreground, such that LCD text will still be enabled.
29 const base::Feature kCompositeOpaqueScrollers{"CompositeOpaqueScrollers", 34 const base::Feature kCompositeOpaqueScrollers{"CompositeOpaqueScrollers",
30 base::FEATURE_ENABLED_BY_DEFAULT}; 35 base::FEATURE_ENABLED_BY_DEFAULT};
31 36
32 // Enables the credential management API: 37 // Enables the credential management API:
33 // https://w3c.github.io/webappsec-credential-management/ 38 // https://w3c.github.io/webappsec-credential-management/
34 const base::Feature kCredentialManagementAPI{"CredentialManagementAPI", 39 const base::Feature kCredentialManagementAPI{"CredentialManagementAPI",
35 base::FEATURE_ENABLED_BY_DEFAULT}; 40 base::FEATURE_ENABLED_BY_DEFAULT};
36 41
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 #endif 244 #endif
240 245
241 #if defined(OS_WIN) 246 #if defined(OS_WIN)
242 // Emergency "off switch" for new Windows sandbox security mitigation, 247 // Emergency "off switch" for new Windows sandbox security mitigation,
243 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 248 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
244 const base::Feature kWinSboxDisableExtensionPoints{ 249 const base::Feature kWinSboxDisableExtensionPoints{
245 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 250 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
246 #endif 251 #endif
247 252
248 } // namespace features 253 } // 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