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

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

Issue 2844453002: Update CM API IDL to use SecureContext (Closed)
Patch Set: Rebase Created 3 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // Enables the compositing of fixed position content that is opaque and can 50 // Enables the compositing of fixed position content that is opaque and can
51 // preserve LCD text. 51 // preserve LCD text.
52 const base::Feature kCompositeOpaqueFixedPosition{ 52 const base::Feature kCompositeOpaqueFixedPosition{
53 "CompositeOpaqueFixedPosition", base::FEATURE_DISABLED_BY_DEFAULT}; 53 "CompositeOpaqueFixedPosition", base::FEATURE_DISABLED_BY_DEFAULT};
54 54
55 // Enables the compositing of scrolling content that supports painting the 55 // Enables the compositing of scrolling content that supports painting the
56 // background with the foreground, such that LCD text will still be enabled. 56 // background with the foreground, such that LCD text will still be enabled.
57 const base::Feature kCompositeOpaqueScrollers{"CompositeOpaqueScrollers", 57 const base::Feature kCompositeOpaqueScrollers{"CompositeOpaqueScrollers",
58 base::FEATURE_ENABLED_BY_DEFAULT}; 58 base::FEATURE_ENABLED_BY_DEFAULT};
59 59
60 // Enables the credential management API:
61 // https://w3c.github.io/webappsec-credential-management/
62 const base::Feature kCredentialManagementAPI{"CredentialManagementAPI",
63 base::FEATURE_ENABLED_BY_DEFAULT};
64
65 // Speculatively pre-evaluate Javascript which will likely use document.write to 60 // Speculatively pre-evaluate Javascript which will likely use document.write to
66 // load an external script. The feature extracts the written markup and sends it 61 // load an external script. The feature extracts the written markup and sends it
67 // to the preload scanner. 62 // to the preload scanner.
68 const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator", 63 const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator",
69 base::FEATURE_DISABLED_BY_DEFAULT}; 64 base::FEATURE_DISABLED_BY_DEFAULT};
70 65
71 // Throttle tasks in Blink background timer queues based on CPU budgets 66 // Throttle tasks in Blink background timer queues based on CPU budgets
72 // for the background tab. Bug: https://crbug.com/639852. 67 // for the background tab. Bug: https://crbug.com/639852.
73 const base::Feature kExpensiveBackgroundTimerThrottling{ 68 const base::Feature kExpensiveBackgroundTimerThrottling{
74 "ExpensiveBackgroundTimerThrottling", base::FEATURE_DISABLED_BY_DEFAULT}; 69 "ExpensiveBackgroundTimerThrottling", base::FEATURE_DISABLED_BY_DEFAULT};
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 #endif 335 #endif
341 336
342 #if defined(OS_WIN) 337 #if defined(OS_WIN)
343 // Emergency "off switch" for new Windows sandbox security mitigation, 338 // Emergency "off switch" for new Windows sandbox security mitigation,
344 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 339 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
345 const base::Feature kWinSboxDisableExtensionPoints{ 340 const base::Feature kWinSboxDisableExtensionPoints{
346 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 341 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
347 #endif 342 #endif
348 343
349 } // namespace features 344 } // namespace features
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698