OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/common/chrome_switches.h" | 5 #include "chrome/common/chrome_switches.h" |
6 | 6 |
7 #include "base/base_switches.h" | 7 #include "base/base_switches.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 const char kDebugPrint[] = "debug-print"; | 162 const char kDebugPrint[] = "debug-print"; |
163 | 163 |
164 // Specifies the URL at which to fetch configuration policy from the device | 164 // Specifies the URL at which to fetch configuration policy from the device |
165 // management backend. Specifying this switch turns on managed policy from the | 165 // management backend. Specifying this switch turns on managed policy from the |
166 // device management backend. | 166 // device management backend. |
167 const char kDeviceManagementUrl[] = "device-management-url"; | 167 const char kDeviceManagementUrl[] = "device-management-url"; |
168 | 168 |
169 // Triggers a pletora of diagnostic modes. | 169 // Triggers a pletora of diagnostic modes. |
170 const char kDiagnostics[] = "diagnostics"; | 170 const char kDiagnostics[] = "diagnostics"; |
171 | 171 |
172 // Disable gpu-accelerated 2d canvas. | |
173 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; | |
174 | |
175 // Disables the hardware acceleration of 3D CSS and animation. | 172 // Disables the hardware acceleration of 3D CSS and animation. |
176 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; | 173 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; |
177 | 174 |
178 // Disables GPU accelerated video display. | 175 // Disables GPU accelerated video display. |
179 const char kDisableAcceleratedVideo[] = "disable-accelerated-video"; | 176 const char kDisableAcceleratedVideo[] = "disable-accelerated-video"; |
180 | 177 |
181 // Replaces the audio IPC layer for <audio> and <video> with a mock audio | 178 // Replaces the audio IPC layer for <audio> and <video> with a mock audio |
182 // device, useful when using remote desktop or machines without sound cards. | 179 // device, useful when using remote desktop or machines without sound cards. |
183 // This is temporary until we fix the underlying problem. | 180 // This is temporary until we fix the underlying problem. |
184 | 181 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 // |AutomationRenderViewHelper|. | 348 // |AutomationRenderViewHelper|. |
352 // TODO(kkania): Rename this to enable-renderer-automation after moving the | 349 // TODO(kkania): Rename this to enable-renderer-automation after moving the |
353 // |DOMAutomationController| to the |AutomationRenderViewHelper|. | 350 // |DOMAutomationController| to the |AutomationRenderViewHelper|. |
354 const char kDomAutomationController[] = "dom-automation"; | 351 const char kDomAutomationController[] = "dom-automation"; |
355 | 352 |
356 // Dump any accumualted histograms to the log when browser terminates (requires | 353 // Dump any accumualted histograms to the log when browser terminates (requires |
357 // logging to be enabled to really do anything). Used by developers and test | 354 // logging to be enabled to really do anything). Used by developers and test |
358 // scripts. | 355 // scripts. |
359 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; | 356 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; |
360 | 357 |
| 358 // Enable gpu-accelerated 2d canvas. |
| 359 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; |
| 360 |
361 // Enables the hardware acceleration of plugins. | 361 // Enables the hardware acceleration of plugins. |
362 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins"; | 362 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins"; |
363 | 363 |
364 // Enables AeroPeek for each tab. (This switch only works on Windows 7). | 364 // Enables AeroPeek for each tab. (This switch only works on Windows 7). |
365 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; | 365 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; |
366 | 366 |
367 // Enable the inclusion of non-standard ports when generating the Kerberos SPN | 367 // Enable the inclusion of non-standard ports when generating the Kerberos SPN |
368 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN | 368 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN |
369 // for more background. | 369 // for more background. |
370 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; | 370 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; |
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1175 | 1175 |
1176 // ----------------------------------------------------------------------------- | 1176 // ----------------------------------------------------------------------------- |
1177 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1177 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1178 // | 1178 // |
1179 // You were going to just dump your switches here, weren't you? Instead, | 1179 // You were going to just dump your switches here, weren't you? Instead, |
1180 // please put them in alphabetical order above, or in order inside the | 1180 // please put them in alphabetical order above, or in order inside the |
1181 // appropriate ifdef at the bottom. The order should match the header. | 1181 // appropriate ifdef at the bottom. The order should match the header. |
1182 // ----------------------------------------------------------------------------- | 1182 // ----------------------------------------------------------------------------- |
1183 | 1183 |
1184 } // namespace switches | 1184 } // namespace switches |
OLD | NEW |