OLD | NEW |
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 Loading... |
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 kEnableAndroidSeccompBPF[] = "enable-android-seccomp-bpf"; |
| 362 |
359 // Enables LCD text. | 363 // Enables LCD text. |
360 const char kEnableLCDText[] = "enable-lcd-text"; | 364 const char kEnableLCDText[] = "enable-lcd-text"; |
361 | 365 |
362 // Enables experimental feature that maps multiple RenderLayers to | 366 // Enables experimental feature that maps multiple RenderLayers to |
363 // one composited layer to avoid pathological layer counts. | 367 // one composited layer to avoid pathological layer counts. |
364 const char kEnableLayerSquashing[] = | 368 const char kEnableLayerSquashing[] = |
365 "enable-layer-squashing"; | 369 "enable-layer-squashing"; |
366 | 370 |
367 // Turns on extremely verbose logging of accessibility events. | 371 // Turns on extremely verbose logging of accessibility events. |
368 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; | 372 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; |
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1039 | 1043 |
1040 // Disables support for Core Animation plugins. This is triggered when | 1044 // Disables support for Core Animation plugins. This is triggered when |
1041 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1045 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1042 const char kDisableCoreAnimationPlugins[] = | 1046 const char kDisableCoreAnimationPlugins[] = |
1043 "disable-core-animation-plugins"; | 1047 "disable-core-animation-plugins"; |
1044 #endif | 1048 #endif |
1045 | 1049 |
1046 // Don't dump stuff here, follow the same order as the header. | 1050 // Don't dump stuff here, follow the same order as the header. |
1047 | 1051 |
1048 } // namespace switches | 1052 } // namespace switches |
OLD | NEW |