Chromium Code Reviews| 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"; | |
|
jln (very slow on Chromium)
2014/04/09 05:11:07
Maybe call it kEnableAndroidSeccompFilter for cons
Robert Sesek
2014/04/09 21:00:58
Renamed to match kDisableSeccompFilterSandbox. I'm
jln (very slow on Chromium)
2014/04/09 21:56:19
That works, but I still would think that kEnableSe
Robert Sesek
2014/04/09 22:07:54
Done.
| |
| 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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1030 | 1034 |
| 1031 // Disables support for Core Animation plugins. This is triggered when | 1035 // Disables support for Core Animation plugins. This is triggered when |
| 1032 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1036 // accelerated compositing is disabled. See http://crbug.com/122430 . |
| 1033 const char kDisableCoreAnimationPlugins[] = | 1037 const char kDisableCoreAnimationPlugins[] = |
| 1034 "disable-core-animation-plugins"; | 1038 "disable-core-animation-plugins"; |
| 1035 #endif | 1039 #endif |
| 1036 | 1040 |
| 1037 // Don't dump stuff here, follow the same order as the header. | 1041 // Don't dump stuff here, follow the same order as the header. |
| 1038 | 1042 |
| 1039 } // namespace switches | 1043 } // namespace switches |
| OLD | NEW |