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 | |
148 // Disables accelerated compositing. | 142 // Disables accelerated compositing. |
149 const char kDisableAcceleratedCompositing[] = | 143 const char kDisableAcceleratedCompositing[] = |
150 "disable-accelerated-compositing"; | 144 "disable-accelerated-compositing"; |
151 | 145 |
152 // Disables the alternate window station for the renderer. | 146 // Disables the alternate window station for the renderer. |
153 const char kDisableAltWinstation[] = "disable-winsta"; | 147 const char kDisableAltWinstation[] = "disable-winsta"; |
154 | 148 |
155 // Disable the ApplicationCache. | 149 // Disable the ApplicationCache. |
156 const char kDisableApplicationCache[] = "disable-application-cache"; | 150 const char kDisableApplicationCache[] = "disable-application-cache"; |
157 | 151 |
(...skipping 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1370 | 1364 |
1371 // ----------------------------------------------------------------------------- | 1365 // ----------------------------------------------------------------------------- |
1372 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1366 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1373 // | 1367 // |
1374 // You were going to just dump your switches here, weren't you? Instead, | 1368 // You were going to just dump your switches here, weren't you? Instead, |
1375 // please put them in alphabetical order above, or in order inside the | 1369 // please put them in alphabetical order above, or in order inside the |
1376 // appropriate ifdef at the bottom. The order should match the header. | 1370 // appropriate ifdef at the bottom. The order should match the header. |
1377 // ----------------------------------------------------------------------------- | 1371 // ----------------------------------------------------------------------------- |
1378 | 1372 |
1379 } // namespace switches | 1373 } // namespace switches |
OLD | NEW |