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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 const char kDebugPrint[] = "debug-print"; | 132 const char kDebugPrint[] = "debug-print"; |
133 | 133 |
134 // Specifies the URL at which to fetch configuration policy from the device | 134 // Specifies the URL at which to fetch configuration policy from the device |
135 // management backend. Specifying this switch turns on managed policy from the | 135 // management backend. Specifying this switch turns on managed policy from the |
136 // device management backend. | 136 // device management backend. |
137 const char kDeviceManagementUrl[] = "device-management-url"; | 137 const char kDeviceManagementUrl[] = "device-management-url"; |
138 | 138 |
139 // Triggers a pletora of diagnostic modes. | 139 // Triggers a pletora of diagnostic modes. |
140 const char kDiagnostics[] = "diagnostics"; | 140 const char kDiagnostics[] = "diagnostics"; |
141 | 141 |
| 142 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. |
| 143 // This is controlled by policy and is kept separate from the other |
| 144 // enable/disable switches to avoid accidentally regressing the policy |
| 145 // support for controlling access to these APIs. |
| 146 const char kDisable3DAPIs[] = "disable-3d-apis"; |
| 147 |
142 // Disables accelerated compositing. | 148 // Disables accelerated compositing. |
143 const char kDisableAcceleratedCompositing[] = | 149 const char kDisableAcceleratedCompositing[] = |
144 "disable-accelerated-compositing"; | 150 "disable-accelerated-compositing"; |
145 | 151 |
146 // Disables the alternate window station for the renderer. | 152 // Disables the alternate window station for the renderer. |
147 const char kDisableAltWinstation[] = "disable-winsta"; | 153 const char kDisableAltWinstation[] = "disable-winsta"; |
148 | 154 |
149 // Disable the ApplicationCache. | 155 // Disable the ApplicationCache. |
150 const char kDisableApplicationCache[] = "disable-application-cache"; | 156 const char kDisableApplicationCache[] = "disable-application-cache"; |
151 | 157 |
(...skipping 1219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1371 | 1377 |
1372 // ----------------------------------------------------------------------------- | 1378 // ----------------------------------------------------------------------------- |
1373 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1379 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1374 // | 1380 // |
1375 // You were going to just dump your switches here, weren't you? Instead, | 1381 // You were going to just dump your switches here, weren't you? Instead, |
1376 // please put them in alphabetical order above, or in order inside the | 1382 // please put them in alphabetical order above, or in order inside the |
1377 // appropriate ifdef at the bottom. The order should match the header. | 1383 // appropriate ifdef at the bottom. The order should match the header. |
1378 // ----------------------------------------------------------------------------- | 1384 // ----------------------------------------------------------------------------- |
1379 | 1385 |
1380 } // namespace switches | 1386 } // namespace switches |
OLD | NEW |