| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 const char kDebugPrint[] = "debug-print"; | 128 const char kDebugPrint[] = "debug-print"; |
| 129 | 129 |
| 130 // Specifies the URL at which to fetch configuration policy from the device | 130 // Specifies the URL at which to fetch configuration policy from the device |
| 131 // management backend. Specifying this switch turns on managed policy from the | 131 // management backend. Specifying this switch turns on managed policy from the |
| 132 // device management backend. | 132 // device management backend. |
| 133 const char kDeviceManagementUrl[] = "device-management-url"; | 133 const char kDeviceManagementUrl[] = "device-management-url"; |
| 134 | 134 |
| 135 // Triggers a pletora of diagnostic modes. | 135 // Triggers a pletora of diagnostic modes. |
| 136 const char kDiagnostics[] = "diagnostics"; | 136 const char kDiagnostics[] = "diagnostics"; |
| 137 | 137 |
| 138 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. |
| 139 // This is controlled by policy and is kept separate from the other |
| 140 // enable/disable switches to avoid accidentally regressing the policy |
| 141 // support for controlling access to these APIs. |
| 142 const char kDisable3DAPIs[] = "disable-3d-apis"; |
| 143 |
| 138 // Disables accelerated compositing. | 144 // Disables accelerated compositing. |
| 139 const char kDisableAcceleratedCompositing[] = | 145 const char kDisableAcceleratedCompositing[] = |
| 140 "disable-accelerated-compositing"; | 146 "disable-accelerated-compositing"; |
| 141 | 147 |
| 142 // Disables the alternate window station for the renderer. | 148 // Disables the alternate window station for the renderer. |
| 143 const char kDisableAltWinstation[] = "disable-winsta"; | 149 const char kDisableAltWinstation[] = "disable-winsta"; |
| 144 | 150 |
| 145 // Disable the ApplicationCache. | 151 // Disable the ApplicationCache. |
| 146 const char kDisableApplicationCache[] = "disable-application-cache"; | 152 const char kDisableApplicationCache[] = "disable-application-cache"; |
| 147 | 153 |
| (...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1356 | 1362 |
| 1357 // ----------------------------------------------------------------------------- | 1363 // ----------------------------------------------------------------------------- |
| 1358 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1364 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1359 // | 1365 // |
| 1360 // You were going to just dump your switches here, weren't you? Instead, | 1366 // You were going to just dump your switches here, weren't you? Instead, |
| 1361 // please put them in alphabetical order above, or in order inside the | 1367 // please put them in alphabetical order above, or in order inside the |
| 1362 // appropriate ifdef at the bottom. The order should match the header. | 1368 // appropriate ifdef at the bottom. The order should match the header. |
| 1363 // ----------------------------------------------------------------------------- | 1369 // ----------------------------------------------------------------------------- |
| 1364 | 1370 |
| 1365 } // namespace switches | 1371 } // namespace switches |
| OLD | NEW |