Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 6045003: (Re-landing http://codereview.chromium.org/5991003) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/policy_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 1212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1364 1370
1365 // ----------------------------------------------------------------------------- 1371 // -----------------------------------------------------------------------------
1366 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1372 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1367 // 1373 //
1368 // You were going to just dump your switches here, weren't you? Instead, 1374 // You were going to just dump your switches here, weren't you? Instead,
1369 // please put them in alphabetical order above, or in order inside the 1375 // please put them in alphabetical order above, or in order inside the
1370 // appropriate ifdef at the bottom. The order should match the header. 1376 // appropriate ifdef at the bottom. The order should match the header.
1371 // ----------------------------------------------------------------------------- 1377 // -----------------------------------------------------------------------------
1372 1378
1373 } // namespace switches 1379 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/common/policy_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698