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

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

Issue 2873433002: Enable Feature Policy without experimental features or fullscreen (Closed)
Patch Set: Fix test failure (fullscreen is still behind FeaturePolicy flag and only disabled in-place of IsSup… 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 base::FEATURE_DISABLED_BY_DEFAULT}; 57 base::FEATURE_DISABLED_BY_DEFAULT};
58 58
59 // Throttle tasks in Blink background timer queues based on CPU budgets 59 // Throttle tasks in Blink background timer queues based on CPU budgets
60 // for the background tab. Bug: https://crbug.com/639852. 60 // for the background tab. Bug: https://crbug.com/639852.
61 const base::Feature kExpensiveBackgroundTimerThrottling{ 61 const base::Feature kExpensiveBackgroundTimerThrottling{
62 "ExpensiveBackgroundTimerThrottling", base::FEATURE_DISABLED_BY_DEFAULT}; 62 "ExpensiveBackgroundTimerThrottling", base::FEATURE_DISABLED_BY_DEFAULT};
63 63
64 // Enables the Feature Policy framework for granting and removing access to 64 // Enables the Feature Policy framework for granting and removing access to
65 // other features through HTTP headers. 65 // other features through HTTP headers.
66 const base::Feature kFeaturePolicy{"FeaturePolicy", 66 const base::Feature kFeaturePolicy{"FeaturePolicy",
67 base::FEATURE_DISABLED_BY_DEFAULT}; 67 base::FEATURE_ENABLED_BY_DEFAULT};
68 68
69 // Enable filtering of same-origin tiny plugins 69 // Enable filtering of same-origin tiny plugins
70 const base::Feature kFilterSameOriginTinyPlugin{ 70 const base::Feature kFilterSameOriginTinyPlugin{
71 "FilterSameOriginTinyPlugins", base::FEATURE_DISABLED_BY_DEFAULT}; 71 "FilterSameOriginTinyPlugins", base::FEATURE_DISABLED_BY_DEFAULT};
72 72
73 // Enables a blink::FontCache optimization that reuses a font to serve different 73 // Enables a blink::FontCache optimization that reuses a font to serve different
74 // size of font. 74 // size of font.
75 const base::Feature kFontCacheScaling{"FontCacheScaling", 75 const base::Feature kFontCacheScaling{"FontCacheScaling",
76 base::FEATURE_DISABLED_BY_DEFAULT}; 76 base::FEATURE_DISABLED_BY_DEFAULT};
77 77
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 #endif 323 #endif
324 324
325 #if defined(OS_WIN) 325 #if defined(OS_WIN)
326 // Emergency "off switch" for new Windows sandbox security mitigation, 326 // Emergency "off switch" for new Windows sandbox security mitigation,
327 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 327 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
328 const base::Feature kWinSboxDisableExtensionPoints{ 328 const base::Feature kWinSboxDisableExtensionPoints{
329 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 329 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
330 #endif 330 #endif
331 331
332 } // namespace features 332 } // namespace features
OLDNEW
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | third_party/WebKit/LayoutTests/TestExpectations » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698