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

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

Issue 2456073003: Purge memory via MemoryCoordinatorClientRegistry when a backgrounded renderer is suspended. (Closed)
Patch Set: Patch for landing 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
« no previous file with comments | « content/public/common/content_features.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 136
137 // Pointer events support. 137 // Pointer events support.
138 const base::Feature kPointerEvents{"PointerEvent", 138 const base::Feature kPointerEvents{"PointerEvent",
139 base::FEATURE_ENABLED_BY_DEFAULT}; 139 base::FEATURE_ENABLED_BY_DEFAULT};
140 140
141 // Whether pointer event capturing follow v1 spec instead of v2 proposal. 141 // Whether pointer event capturing follow v1 spec instead of v2 proposal.
142 // See https://rawgit.com/w3c/pointerevents/reduce-hit-tests/index.html. 142 // See https://rawgit.com/w3c/pointerevents/reduce-hit-tests/index.html.
143 const base::Feature kPointerEventV1SpecCapturing{ 143 const base::Feature kPointerEventV1SpecCapturing{
144 "PointerEventV1SpecCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; 144 "PointerEventV1SpecCapturing", base::FEATURE_DISABLED_BY_DEFAULT};
145 145
146 // Enables purge and suspend.
147 const base::Feature kPurgeAndSuspend{"PurgeAndSuspend",
148 base::FEATURE_DISABLED_BY_DEFAULT};
149
146 // RAF aligned mouse input events support. 150 // RAF aligned mouse input events support.
147 const base::Feature kRafAlignedMouseInputEvents{ 151 const base::Feature kRafAlignedMouseInputEvents{
148 "RafAlignedMouseInput", base::FEATURE_DISABLED_BY_DEFAULT}; 152 "RafAlignedMouseInput", base::FEATURE_DISABLED_BY_DEFAULT};
149 153
150 // RAF aligned touch input events support. 154 // RAF aligned touch input events support.
151 const base::Feature kRafAlignedTouchInputEvents{ 155 const base::Feature kRafAlignedTouchInputEvents{
152 "RafAlignedTouchInput", base::FEATURE_DISABLED_BY_DEFAULT}; 156 "RafAlignedTouchInput", base::FEATURE_DISABLED_BY_DEFAULT};
153 157
154 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is 158 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is
155 // enabled. 159 // enabled.
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 #endif 254 #endif
251 255
252 #if defined(OS_WIN) 256 #if defined(OS_WIN)
253 // Emergency "off switch" for new Windows sandbox security mitigation, 257 // Emergency "off switch" for new Windows sandbox security mitigation,
254 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 258 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
255 const base::Feature kWinSboxDisableExtensionPoints{ 259 const base::Feature kWinSboxDisableExtensionPoints{
256 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 260 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
257 #endif 261 #endif
258 262
259 } // namespace features 263 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698