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 FileSystem API. | 146 // Disable FileSystem API. |
147 const char kDisableFileSystem[] = "disable-file-system"; | 147 const char kDisableFileSystem[] = "disable-file-system"; |
148 | 148 |
149 // Disable 3D inside of flapper. | 149 // Disable 3D inside of flapper. |
150 const char kDisableFlash3d[] = "disable-flash-3d"; | 150 const char kDisableFlash3d[] = "disable-flash-3d"; |
151 | 151 |
152 // Disable Stage3D inside of flapper. | 152 // Disable Stage3D inside of flapper. |
153 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; | 153 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; |
154 | 154 |
155 const char kDisableGestureTapHighlight[] = "disable-gesture-tap-highlight"; | |
156 | |
157 // Disables GPU hardware acceleration. If software renderer is not in place, | 155 // Disables GPU hardware acceleration. If software renderer is not in place, |
158 // then the GPU process won't launch. | 156 // then the GPU process won't launch. |
159 const char kDisableGpu[] = "disable-gpu"; | 157 const char kDisableGpu[] = "disable-gpu"; |
160 | 158 |
161 // Prevent the compositor from using its GPU implementation. | 159 // Prevent the compositor from using its GPU implementation. |
162 const char kDisableGpuCompositing[] = "disable-gpu-compositing"; | 160 const char kDisableGpuCompositing[] = "disable-gpu-compositing"; |
163 | 161 |
164 // Disable the limit on the number of times the GPU process may be restarted | 162 // Disable the limit on the number of times the GPU process may be restarted |
165 // This switch is intended only for tests. | 163 // This switch is intended only for tests. |
166 extern const char kDisableGpuProcessCrashLimit[] = | 164 extern const char kDisableGpuProcessCrashLimit[] = |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 const char kEnableExperimentalWebPlatformFeatures[] = | 367 const char kEnableExperimentalWebPlatformFeatures[] = |
370 "enable-experimental-web-platform-features"; | 368 "enable-experimental-web-platform-features"; |
371 | 369 |
372 // By default, cookies are not allowed on file://. They are needed for testing, | 370 // By default, cookies are not allowed on file://. They are needed for testing, |
373 // for example page cycler and layout tests. See bug 1157243. | 371 // for example page cycler and layout tests. See bug 1157243. |
374 const char kEnableFileCookies[] = "enable-file-cookies"; | 372 const char kEnableFileCookies[] = "enable-file-cookies"; |
375 | 373 |
376 // Enable the fast text autosizing implementation. | 374 // Enable the fast text autosizing implementation. |
377 const char kEnableFastTextAutosizing[] = "enable-fast-text-autosizing"; | 375 const char kEnableFastTextAutosizing[] = "enable-fast-text-autosizing"; |
378 | 376 |
379 // Enable Gesture Tap Highlight | |
380 const char kEnableGestureTapHighlight[] = "enable-gesture-tap-highlight"; | |
381 | |
382 // Enables TRACE for GL calls in the renderer. | 377 // Enables TRACE for GL calls in the renderer. |
383 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; | 378 const char kEnableGpuClientTracing[] = "enable-gpu-client-tracing"; |
384 | 379 |
385 // Allow heuristics to determine when a layer tile should be drawn with the | 380 // Allow heuristics to determine when a layer tile should be drawn with the |
386 // Skia GPU backend. Only valid with GPU accelerated compositing + | 381 // Skia GPU backend. Only valid with GPU accelerated compositing + |
387 // impl-side painting. | 382 // impl-side painting. |
388 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; | 383 const char kEnableGpuRasterization[] = "enable-gpu-rasterization"; |
389 | 384 |
390 // When using CPU rasterizing generate low resolution tiling. Low res | 385 // When using CPU rasterizing generate low resolution tiling. Low res |
391 // tiles may be displayed during fast scrolls especially on slower devices. | 386 // tiles may be displayed during fast scrolls especially on slower devices. |
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
953 // Enable the Win32K process mitigation policy for renderer processes which | 948 // Enable the Win32K process mitigation policy for renderer processes which |
954 // prevents them from invoking user32 and gdi32 system calls which enter | 949 // prevents them from invoking user32 and gdi32 system calls which enter |
955 // the kernel. This is only supported on Windows 8 and beyond. | 950 // the kernel. This is only supported on Windows 8 and beyond. |
956 const char kEnableWin32kRendererLockDown[] | 951 const char kEnableWin32kRendererLockDown[] |
957 = "enable_win32k_renderer_lockdown"; | 952 = "enable_win32k_renderer_lockdown"; |
958 #endif | 953 #endif |
959 | 954 |
960 // Don't dump stuff here, follow the same order as the header. | 955 // Don't dump stuff here, follow the same order as the header. |
961 | 956 |
962 } // namespace switches | 957 } // namespace switches |
OLD | NEW |