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

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

Issue 2987563004: Revert of Use FrameIsAd to decide whether to isolate a frame in TopDocumentIsolation mode. (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « content/public/common/content_features.h ('k') | content/public/test/test_utils.h » ('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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). 290 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt).
291 const base::Feature kTokenBinding{"token-binding", 291 const base::Feature kTokenBinding{"token-binding",
292 base::FEATURE_DISABLED_BY_DEFAULT}; 292 base::FEATURE_DISABLED_BY_DEFAULT};
293 293
294 // Groups all out-of-process iframes to a different process from the process of 294 // Groups all out-of-process iframes to a different process from the process of
295 // the top document. This is a performance isolation mode. Launch bug: 295 // the top document. This is a performance isolation mode. Launch bug:
296 // https://crbug.com/595987. 296 // https://crbug.com/595987.
297 const base::Feature kTopDocumentIsolation{"top-document-isolation", 297 const base::Feature kTopDocumentIsolation{"top-document-isolation",
298 base::FEATURE_DISABLED_BY_DEFAULT}; 298 base::FEATURE_DISABLED_BY_DEFAULT};
299 299
300 // Field trial param (see base::GetFieldTrialParamValueByFeature)
301 // controlling the mode for selecting which subframes end in the TDI process.
302 // Valid values are integers from the TopDocumentIsolationMode enum.
303 const char kTopDocumentIsolationModeParam[] = "mode";
304
305 // Enables touchpad and wheel scroll latching. 300 // Enables touchpad and wheel scroll latching.
306 const base::Feature kTouchpadAndWheelScrollLatching{ 301 const base::Feature kTouchpadAndWheelScrollLatching{
307 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; 302 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT};
308 303
309 // Use Feature Policy to gate the use of permission features like midi, 304 // Use Feature Policy to gate the use of permission features like midi,
310 // geolocation, camera, microphone, etc. 305 // geolocation, camera, microphone, etc.
311 const base::Feature kUseFeaturePolicyForPermissions{ 306 const base::Feature kUseFeaturePolicyForPermissions{
312 "UseFeaturePolicyForPermissions", base::FEATURE_DISABLED_BY_DEFAULT}; 307 "UseFeaturePolicyForPermissions", base::FEATURE_DISABLED_BY_DEFAULT};
313 308
314 // Use MojoAudioOutputIPC and RenderFrameAudioOutputStreamFactory rather than 309 // Use MojoAudioOutputIPC and RenderFrameAudioOutputStreamFactory rather than
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 const base::Feature kDeviceMonitorMac{"DeviceMonitorMac", 428 const base::Feature kDeviceMonitorMac{"DeviceMonitorMac",
434 base::FEATURE_ENABLED_BY_DEFAULT}; 429 base::FEATURE_ENABLED_BY_DEFAULT};
435 430
436 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the 431 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the
437 // entire life of the process. 432 // entire life of the process.
438 const base::Feature kMacV2Sandbox{"MacV2Sandbox", 433 const base::Feature kMacV2Sandbox{"MacV2Sandbox",
439 base::FEATURE_DISABLED_BY_DEFAULT}; 434 base::FEATURE_DISABLED_BY_DEFAULT};
440 #endif // defined(OS_MACOSX) 435 #endif // defined(OS_MACOSX)
441 436
442 } // namespace features 437 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | content/public/test/test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698