| 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 |
| 172 // Disables the hardware acceleration of 3D CSS and animation. | 175 // Disables the hardware acceleration of 3D CSS and animation. |
| 173 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; | 176 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; |
| 174 | 177 |
| 175 // Disables GPU accelerated video display. | 178 // Disables GPU accelerated video display. |
| 176 const char kDisableAcceleratedVideo[] = "disable-accelerated-video"; | 179 const char kDisableAcceleratedVideo[] = "disable-accelerated-video"; |
| 177 | 180 |
| 178 // Disables the alternate window station for the renderer. | 181 // Disables the alternate window station for the renderer. |
| 179 const char kDisableAltWinstation[] = "disable-winsta"; | 182 const char kDisableAltWinstation[] = "disable-winsta"; |
| 180 | 183 |
| 181 // Replaces the audio IPC layer for <audio> and <video> with a mock audio | 184 // Replaces the audio IPC layer for <audio> and <video> with a mock audio |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 // |AutomationRenderViewHelper|. | 360 // |AutomationRenderViewHelper|. |
| 358 // TODO(kkania): Rename this to enable-renderer-automation after moving the | 361 // TODO(kkania): Rename this to enable-renderer-automation after moving the |
| 359 // |DOMAutomationController| to the |AutomationRenderViewHelper|. | 362 // |DOMAutomationController| to the |AutomationRenderViewHelper|. |
| 360 const char kDomAutomationController[] = "dom-automation"; | 363 const char kDomAutomationController[] = "dom-automation"; |
| 361 | 364 |
| 362 // Dump any accumualted histograms to the log when browser terminates (requires | 365 // Dump any accumualted histograms to the log when browser terminates (requires |
| 363 // logging to be enabled to really do anything). Used by developers and test | 366 // logging to be enabled to really do anything). Used by developers and test |
| 364 // scripts. | 367 // scripts. |
| 365 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; | 368 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; |
| 366 | 369 |
| 367 // Enable gpu-accelerated 2d canvas. | |
| 368 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; | |
| 369 | |
| 370 // Enables the hardware acceleration of plugins. | 370 // Enables the hardware acceleration of plugins. |
| 371 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins"; | 371 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins"; |
| 372 | 372 |
| 373 // Enables AeroPeek for each tab. (This switch only works on Windows 7). | 373 // Enables AeroPeek for each tab. (This switch only works on Windows 7). |
| 374 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; | 374 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; |
| 375 | 375 |
| 376 // Enable the inclusion of non-standard ports when generating the Kerberos SPN | 376 // Enable the inclusion of non-standard ports when generating the Kerberos SPN |
| 377 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN | 377 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN |
| 378 // for more background. | 378 // for more background. |
| 379 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; | 379 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; |
| (...skipping 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1185 | 1185 |
| 1186 // ----------------------------------------------------------------------------- | 1186 // ----------------------------------------------------------------------------- |
| 1187 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1187 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1188 // | 1188 // |
| 1189 // You were going to just dump your switches here, weren't you? Instead, | 1189 // You were going to just dump your switches here, weren't you? Instead, |
| 1190 // please put them in alphabetical order above, or in order inside the | 1190 // please put them in alphabetical order above, or in order inside the |
| 1191 // appropriate ifdef at the bottom. The order should match the header. | 1191 // appropriate ifdef at the bottom. The order should match the header. |
| 1192 // ----------------------------------------------------------------------------- | 1192 // ----------------------------------------------------------------------------- |
| 1193 | 1193 |
| 1194 } // namespace switches | 1194 } // namespace switches |
| OLD | NEW |