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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 145 |
146 // Disable the fast text autosizing implementation. | 146 // Disable the fast text autosizing implementation. |
147 const char kDisableFastTextAutosizing[] = "disable-fast-text-autosizing"; | 147 const char kDisableFastTextAutosizing[] = "disable-fast-text-autosizing"; |
148 | 148 |
149 // Disable FileSystem API. | 149 // Disable FileSystem API. |
150 const char kDisableFileSystem[] = "disable-file-system"; | 150 const char kDisableFileSystem[] = "disable-file-system"; |
151 | 151 |
152 // Disables sending filters (SkImageFilter objects) between processes over IPC | 152 // Disables sending filters (SkImageFilter objects) between processes over IPC |
153 const char kDisableFiltersOverIPC[] = "disable-filters-over-ipc"; | 153 const char kDisableFiltersOverIPC[] = "disable-filters-over-ipc"; |
154 | 154 |
155 const char kDisableFixedPositionCreatesStackingContext[] | |
156 = "disable-fixed-position-creates-stacking-context"; | |
157 | |
158 // Disable 3D inside of flapper. | 155 // Disable 3D inside of flapper. |
159 const char kDisableFlash3d[] = "disable-flash-3d"; | 156 const char kDisableFlash3d[] = "disable-flash-3d"; |
160 | 157 |
161 // Disable Stage3D inside of flapper. | 158 // Disable Stage3D inside of flapper. |
162 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; | 159 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; |
163 | 160 |
164 const char kDisableGestureTapHighlight[] = "disable-gesture-tap-highlight"; | 161 const char kDisableGestureTapHighlight[] = "disable-gesture-tap-highlight"; |
165 | 162 |
166 // Disable GL multisampling. | 163 // Disable GL multisampling. |
167 const char kDisableGLMultisampling[] = "disable-gl-multisampling"; | 164 const char kDisableGLMultisampling[] = "disable-gl-multisampling"; |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 const char kEnableExperimentalWebPlatformFeatures[] = | 389 const char kEnableExperimentalWebPlatformFeatures[] = |
393 "enable-experimental-web-platform-features"; | 390 "enable-experimental-web-platform-features"; |
394 | 391 |
395 // By default, cookies are not allowed on file://. They are needed for testing, | 392 // By default, cookies are not allowed on file://. They are needed for testing, |
396 // for example page cycler and layout tests. See bug 1157243. | 393 // for example page cycler and layout tests. See bug 1157243. |
397 const char kEnableFileCookies[] = "enable-file-cookies"; | 394 const char kEnableFileCookies[] = "enable-file-cookies"; |
398 | 395 |
399 // Enable the fast text autosizing implementation. | 396 // Enable the fast text autosizing implementation. |
400 const char kEnableFastTextAutosizing[] = "enable-fast-text-autosizing"; | 397 const char kEnableFastTextAutosizing[] = "enable-fast-text-autosizing"; |
401 | 398 |
402 const char kEnableFixedPositionCreatesStackingContext[] | |
403 = "enable-fixed-position-creates-stacking-context"; | |
404 | |
405 // Enable Gesture Tap Highlight | 399 // Enable Gesture Tap Highlight |
406 const char kEnableGestureTapHighlight[] = "enable-gesture-tap-highlight"; | 400 const char kEnableGestureTapHighlight[] = "enable-gesture-tap-highlight"; |
407 | 401 |
408 // Enables TRACE for GL calls in the renderer. | 402 // Enables TRACE for GL calls in the renderer. |
409 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; | 403 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; |
410 | 404 |
411 // Allow heuristics to determine when a layer tile should be drawn with the | 405 // Allow heuristics to determine when a layer tile should be drawn with the |
412 // Skia GPU backend. Only valid with GPU accelerated compositing + | 406 // Skia GPU backend. Only valid with GPU accelerated compositing + |
413 // impl-side painting. | 407 // impl-side painting. |
414 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; | 408 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
994 | 988 |
995 // Disables support for Core Animation plugins. This is triggered when | 989 // Disables support for Core Animation plugins. This is triggered when |
996 // accelerated compositing is disabled. See http://crbug.com/122430 . | 990 // accelerated compositing is disabled. See http://crbug.com/122430 . |
997 const char kDisableCoreAnimationPlugins[] = | 991 const char kDisableCoreAnimationPlugins[] = |
998 "disable-core-animation-plugins"; | 992 "disable-core-animation-plugins"; |
999 #endif | 993 #endif |
1000 | 994 |
1001 // Don't dump stuff here, follow the same order as the header. | 995 // Don't dump stuff here, follow the same order as the header. |
1002 | 996 |
1003 } // namespace switches | 997 } // namespace switches |
OLD | NEW |