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

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

Issue 2930493002: Add CompositorTouchAction to RuntimeEnabledFeatures. (Closed)
Patch Set: Rebase - all the set functions are now capitalized Created 3 years, 6 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // Enables the compositing of fixed position content that is opaque and can 48 // Enables the compositing of fixed position content that is opaque and can
49 // preserve LCD text. 49 // preserve LCD text.
50 const base::Feature kCompositeOpaqueFixedPosition{ 50 const base::Feature kCompositeOpaqueFixedPosition{
51 "CompositeOpaqueFixedPosition", base::FEATURE_DISABLED_BY_DEFAULT}; 51 "CompositeOpaqueFixedPosition", base::FEATURE_DISABLED_BY_DEFAULT};
52 52
53 // Enables the compositing of scrolling content that supports painting the 53 // Enables the compositing of scrolling content that supports painting the
54 // background with the foreground, such that LCD text will still be enabled. 54 // background with the foreground, such that LCD text will still be enabled.
55 const base::Feature kCompositeOpaqueScrollers{"CompositeOpaqueScrollers", 55 const base::Feature kCompositeOpaqueScrollers{"CompositeOpaqueScrollers",
56 base::FEATURE_ENABLED_BY_DEFAULT}; 56 base::FEATURE_ENABLED_BY_DEFAULT};
57 57
58 // Enables handling touch events in compositor using impl side touch action
59 // knowledge.
60 const base::Feature kCompositorTouchAction{"CompositorTouchAction",
61 base::FEATURE_DISABLED_BY_DEFAULT};
62
58 // Speculatively pre-evaluate Javascript which will likely use document.write to 63 // Speculatively pre-evaluate Javascript which will likely use document.write to
59 // load an external script. The feature extracts the written markup and sends it 64 // load an external script. The feature extracts the written markup and sends it
60 // to the preload scanner. 65 // to the preload scanner.
61 const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator", 66 const base::Feature kDocumentWriteEvaluator{"DocumentWriteEvaluator",
62 base::FEATURE_DISABLED_BY_DEFAULT}; 67 base::FEATURE_DISABLED_BY_DEFAULT};
63 68
64 // Throttle tasks in Blink background timer queues based on CPU budgets 69 // Throttle tasks in Blink background timer queues based on CPU budgets
65 // for the background tab. Bug: https://crbug.com/639852. 70 // for the background tab. Bug: https://crbug.com/639852.
66 const base::Feature kExpensiveBackgroundTimerThrottling{ 71 const base::Feature kExpensiveBackgroundTimerThrottling{
67 "ExpensiveBackgroundTimerThrottling", base::FEATURE_DISABLED_BY_DEFAULT}; 72 "ExpensiveBackgroundTimerThrottling", base::FEATURE_DISABLED_BY_DEFAULT};
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 #endif 373 #endif
369 374
370 #if defined(OS_WIN) 375 #if defined(OS_WIN)
371 // Emergency "off switch" for new Windows sandbox security mitigation, 376 // Emergency "off switch" for new Windows sandbox security mitigation,
372 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 377 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
373 const base::Feature kWinSboxDisableExtensionPoints{ 378 const base::Feature kWinSboxDisableExtensionPoints{
374 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 379 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
375 #endif 380 #endif
376 381
377 } // namespace features 382 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698