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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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"; | 155 const char kDisableGestureTapHighlight[] = "disable-gesture-tap-highlight"; |
156 | 156 |
157 // Disable GL multisampling. | |
158 const char kDisableGLMultisampling[] = "disable-gl-multisampling"; | |
159 | |
160 // Disables GPU hardware acceleration. If software renderer is not in place, | 157 // Disables GPU hardware acceleration. If software renderer is not in place, |
161 // then the GPU process won't launch. | 158 // then the GPU process won't launch. |
162 const char kDisableGpu[] = "disable-gpu"; | 159 const char kDisableGpu[] = "disable-gpu"; |
163 | 160 |
164 // Prevent the compositor from using its GPU implementation. | 161 // Prevent the compositor from using its GPU implementation. |
165 const char kDisableGpuCompositing[] = "disable-gpu-compositing"; | 162 const char kDisableGpuCompositing[] = "disable-gpu-compositing"; |
166 | 163 |
167 // Disable the limit on the number of times the GPU process may be restarted | 164 // Disable the limit on the number of times the GPU process may be restarted |
168 // This switch is intended only for tests. | 165 // This switch is intended only for tests. |
169 extern const char kDisableGpuProcessCrashLimit[] = | 166 extern const char kDisableGpuProcessCrashLimit[] = |
(...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 // Enable the Win32K process mitigation policy for renderer processes which | 972 // Enable the Win32K process mitigation policy for renderer processes which |
976 // prevents them from invoking user32 and gdi32 system calls which enter | 973 // prevents them from invoking user32 and gdi32 system calls which enter |
977 // the kernel. This is only supported on Windows 8 and beyond. | 974 // the kernel. This is only supported on Windows 8 and beyond. |
978 const char kEnableWin32kRendererLockDown[] | 975 const char kEnableWin32kRendererLockDown[] |
979 = "enable_win32k_renderer_lockdown"; | 976 = "enable_win32k_renderer_lockdown"; |
980 #endif | 977 #endif |
981 | 978 |
982 // Don't dump stuff here, follow the same order as the header. | 979 // Don't dump stuff here, follow the same order as the header. |
983 | 980 |
984 } // namespace switches | 981 } // namespace switches |
OLD | NEW |