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

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

Issue 180783019: [Android] Define a baseline seccomp-bpf sandbox policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More moves, nits Created 6 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 // Enables accelerated compositing for backgrounds of root layers with 349 // Enables accelerated compositing for backgrounds of root layers with
350 // background-attachment: fixed. Requires kForceCompositingMode. 350 // background-attachment: fixed. Requires kForceCompositingMode.
351 const char kEnableAcceleratedFixedRootBackground[] = 351 const char kEnableAcceleratedFixedRootBackground[] =
352 "enable-accelerated-fixed-root-background"; 352 "enable-accelerated-fixed-root-background";
353 353
354 // Enables accelerated compositing for overflow scroll. Promotes eligible 354 // Enables accelerated compositing for overflow scroll. Promotes eligible
355 // overflow:scroll elements to layers to enable accelerated scrolling for them. 355 // overflow:scroll elements to layers to enable accelerated scrolling for them.
356 const char kEnableAcceleratedOverflowScroll[] = 356 const char kEnableAcceleratedOverflowScroll[] =
357 "enable-accelerated-overflow-scroll"; 357 "enable-accelerated-overflow-scroll";
358 358
359 // Enables seccomp-bpf support for Android. Requires experimental kernel
360 // support. <http://crbug.com/166704>
361 const char kEnableAndroidSeccompFilterSandbox[] =
362 "enable-android-seccomp-filter-sandbox";
363
359 // Enables LCD text. 364 // Enables LCD text.
360 const char kEnableLCDText[] = "enable-lcd-text"; 365 const char kEnableLCDText[] = "enable-lcd-text";
361 366
362 // Enables experimental feature that maps multiple RenderLayers to 367 // Enables experimental feature that maps multiple RenderLayers to
363 // one composited layer to avoid pathological layer counts. 368 // one composited layer to avoid pathological layer counts.
364 const char kEnableLayerSquashing[] = 369 const char kEnableLayerSquashing[] =
365 "enable-layer-squashing"; 370 "enable-layer-squashing";
366 371
367 // Turns on extremely verbose logging of accessibility events. 372 // Turns on extremely verbose logging of accessibility events.
368 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; 373 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging";
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
1030 1035
1031 // Disables support for Core Animation plugins. This is triggered when 1036 // Disables support for Core Animation plugins. This is triggered when
1032 // accelerated compositing is disabled. See http://crbug.com/122430 . 1037 // accelerated compositing is disabled. See http://crbug.com/122430 .
1033 const char kDisableCoreAnimationPlugins[] = 1038 const char kDisableCoreAnimationPlugins[] =
1034 "disable-core-animation-plugins"; 1039 "disable-core-animation-plugins";
1035 #endif 1040 #endif
1036 1041
1037 // Don't dump stuff here, follow the same order as the header. 1042 // Don't dump stuff here, follow the same order as the header.
1038 1043
1039 } // namespace switches 1044 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698