| 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. | 156 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. |
| 157 // This is controlled by policy and is kept separate from the other | 157 // This is controlled by policy and is kept separate from the other |
| 158 // enable/disable switches to avoid accidentally regressing the policy | 158 // enable/disable switches to avoid accidentally regressing the policy |
| 159 // support for controlling access to these APIs. | 159 // support for controlling access to these APIs. |
| 160 const char kDisable3DAPIs[] = "disable-3d-apis"; | 160 const char kDisable3DAPIs[] = "disable-3d-apis"; |
| 161 | 161 |
| 162 // Disables accelerated compositing. | 162 // Disables accelerated compositing. |
| 163 const char kDisableAcceleratedCompositing[] = | 163 const char kDisableAcceleratedCompositing[] = |
| 164 "disable-accelerated-compositing"; | 164 "disable-accelerated-compositing"; |
| 165 | 165 |
| 166 // Disables the hardware acceleration of 3D CSS and animation. |
| 167 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; |
| 168 |
| 166 // Disables GPU accelerated video display. | 169 // Disables GPU accelerated video display. |
| 167 const char kDisableAcceleratedVideo[] = "disable-accelerated-video"; | 170 const char kDisableAcceleratedVideo[] = "disable-accelerated-video"; |
| 168 | 171 |
| 169 // Disables the alternate window station for the renderer. | 172 // Disables the alternate window station for the renderer. |
| 170 const char kDisableAltWinstation[] = "disable-winsta"; | 173 const char kDisableAltWinstation[] = "disable-winsta"; |
| 171 | 174 |
| 172 // Disable the ApplicationCache. | 175 // Disable the ApplicationCache. |
| 173 const char kDisableApplicationCache[] = "disable-application-cache"; | 176 const char kDisableApplicationCache[] = "disable-application-cache"; |
| 174 | 177 |
| 175 // 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 |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 // logging to be enabled to really do anything). Used by developers and test | 426 // logging to be enabled to really do anything). Used by developers and test |
| 424 // scripts. | 427 // scripts. |
| 425 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; | 428 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; |
| 426 | 429 |
| 427 // Enable displaying net log events on the command line. | 430 // Enable displaying net log events on the command line. |
| 428 extern const char kLogNetLog[] = "log-net-log"; | 431 extern const char kLogNetLog[] = "log-net-log"; |
| 429 | 432 |
| 430 // Enable gpu-accelerated 2d canvas. | 433 // Enable gpu-accelerated 2d canvas. |
| 431 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; | 434 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; |
| 432 | 435 |
| 433 // Enables the hardware acceleration of 3D CSS and animation. | |
| 434 const char kEnableAcceleratedLayers[] = "enable-accelerated-layers"; | |
| 435 | |
| 436 // Enables the hardware acceleration of plugins. | 436 // Enables the hardware acceleration of plugins. |
| 437 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins"; | 437 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins"; |
| 438 | 438 |
| 439 // Enables WebKit accessibility within the renderer process. | 439 // Enables WebKit accessibility within the renderer process. |
| 440 const char kEnableAccessibility[] = "enable-accessibility"; | 440 const char kEnableAccessibility[] = "enable-accessibility"; |
| 441 | 441 |
| 442 // Enables AeroPeek for each tab. (This switch only works on Windows 7). | 442 // Enables AeroPeek for each tab. (This switch only works on Windows 7). |
| 443 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; | 443 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; |
| 444 | 444 |
| 445 // Enable the inclusion of non-standard ports when generating the Kerberos SPN | 445 // Enable the inclusion of non-standard ports when generating the Kerberos SPN |
| (...skipping 974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1420 | 1420 |
| 1421 // ----------------------------------------------------------------------------- | 1421 // ----------------------------------------------------------------------------- |
| 1422 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1422 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1423 // | 1423 // |
| 1424 // You were going to just dump your switches here, weren't you? Instead, | 1424 // You were going to just dump your switches here, weren't you? Instead, |
| 1425 // please put them in alphabetical order above, or in order inside the | 1425 // please put them in alphabetical order above, or in order inside the |
| 1426 // appropriate ifdef at the bottom. The order should match the header. | 1426 // appropriate ifdef at the bottom. The order should match the header. |
| 1427 // ----------------------------------------------------------------------------- | 1427 // ----------------------------------------------------------------------------- |
| 1428 | 1428 |
| 1429 } // namespace switches | 1429 } // namespace switches |
| OLD | NEW |