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

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

Issue 7046114: Remove content dependency on chrome/browser/accessibility/browser_accessibility_state.h and chrom... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 months 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') | content/browser/DEPS » ('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) 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 const char kDebugPrint[] = "debug-print"; 162 const char kDebugPrint[] = "debug-print";
163 163
164 // Specifies the URL at which to fetch configuration policy from the device 164 // Specifies the URL at which to fetch configuration policy from the device
165 // management backend. Specifying this switch turns on managed policy from the 165 // management backend. Specifying this switch turns on managed policy from the
166 // device management backend. 166 // device management backend.
167 const char kDeviceManagementUrl[] = "device-management-url"; 167 const char kDeviceManagementUrl[] = "device-management-url";
168 168
169 // Triggers a pletora of diagnostic modes. 169 // Triggers a pletora of diagnostic modes.
170 const char kDiagnostics[] = "diagnostics"; 170 const char kDiagnostics[] = "diagnostics";
171 171
172 // Disable gpu-accelerated 2d canvas.
173 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas";
174
175 // Disables the hardware acceleration of 3D CSS and animation.
176 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers";
177
178 // Disables GPU accelerated video display.
179 const char kDisableAcceleratedVideo[] = "disable-accelerated-video";
180
181 // Replaces the audio IPC layer for <audio> and <video> with a mock audio 172 // Replaces the audio IPC layer for <audio> and <video> with a mock audio
182 // device, useful when using remote desktop or machines without sound cards. 173 // device, useful when using remote desktop or machines without sound cards.
183 // This is temporary until we fix the underlying problem. 174 // This is temporary until we fix the underlying problem.
184 175
185 // Disable CNAME lookup of the host when generating the Kerberos SPN for a 176 // Disable CNAME lookup of the host when generating the Kerberos SPN for a
186 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN 177 // Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN
187 // for more background. 178 // for more background.
188 const char kDisableAuthNegotiateCnameLookup[] = 179 const char kDisableAuthNegotiateCnameLookup[] =
189 "disable-auth-negotiate-cname-lookup"; 180 "disable-auth-negotiate-cname-lookup";
190 181
(...skipping 24 matching lines...) Expand all
215 const char kDisableExtensions[] = "disable-extensions"; 206 const char kDisableExtensions[] = "disable-extensions";
216 207
217 // Disable checking for user opt-in for extensions that want to inject script 208 // Disable checking for user opt-in for extensions that want to inject script
218 // into file URLs (ie, always allow it). This is used during automated testing. 209 // into file URLs (ie, always allow it). This is used during automated testing.
219 const char kDisableExtensionsFileAccessCheck[] = 210 const char kDisableExtensionsFileAccessCheck[] =
220 "disable-extensions-file-access-check"; 211 "disable-extensions-file-access-check";
221 212
222 // Disables the sandbox for the built-in flash player. 213 // Disables the sandbox for the built-in flash player.
223 const char kDisableFlashSandbox[] = "disable-flash-sandbox"; 214 const char kDisableFlashSandbox[] = "disable-flash-sandbox";
224 215
225 // Suppresses hang monitor dialogs in renderer processes. This may allow slow
226 // unload handlers on a page to prevent the tab from closing, but the Task
227 // Manager can be used to terminate the offending process in this case.
228 const char kDisableHangMonitor[] = "disable-hang-monitor";
229
230 // Disable the use of the HistoryQuickProvider for autocomplete results. 216 // Disable the use of the HistoryQuickProvider for autocomplete results.
231 const char kDisableHistoryQuickProvider[] = "disable-history-quick-provider"; 217 const char kDisableHistoryQuickProvider[] = "disable-history-quick-provider";
232 218
233 // Disable the use of the HistoryURLProvider for autocomplete results. 219 // Disable the use of the HistoryURLProvider for autocomplete results.
234 const char kDisableHistoryURLProvider[] = "disable-history-url-provider"; 220 const char kDisableHistoryURLProvider[] = "disable-history-url-provider";
235 221
236 // Disables HTML5 Forms interactive validation. 222 // Disables HTML5 Forms interactive validation.
237 const char kDisableInteractiveFormValidation[] = 223 const char kDisableInteractiveFormValidation[] =
238 "disable-interactive-form-validation"; 224 "disable-interactive-form-validation";
239 225
(...skipping 20 matching lines...) Expand all
260 246
261 // Normally when the user attempts to navigate to a page that was the result of 247 // Normally when the user attempts to navigate to a page that was the result of
262 // a post we prompt to make sure they want to. This switch may be used to 248 // a post we prompt to make sure they want to. This switch may be used to
263 // disable that check. This switch is used during automated testing. 249 // disable that check. This switch is used during automated testing.
264 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 250 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
265 251
266 // Disable remote web font support. SVG font should always work whether 252 // Disable remote web font support. SVG font should always work whether
267 // this option is specified or not. 253 // this option is specified or not.
268 const char kDisableRemoteFonts[] = "disable-remote-fonts"; 254 const char kDisableRemoteFonts[] = "disable-remote-fonts";
269 255
270 // Turns off the accessibility in the renderer.
271 const char kDisableRendererAccessibility[] = "disable-renderer-accessibility";
272
273 // Prevents the URLs of BackgroundContents from being remembered and re-launched 256 // Prevents the URLs of BackgroundContents from being remembered and re-launched
274 // when the browser restarts. 257 // when the browser restarts.
275 const char kDisableRestoreBackgroundContents[] = 258 const char kDisableRestoreBackgroundContents[] =
276 "disable-restore-background-contents"; 259 "disable-restore-background-contents";
277 260
278 // Disable site-specific tailoring to compatibility issues in WebKit. 261 // Disable site-specific tailoring to compatibility issues in WebKit.
279 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; 262 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks";
280 263
281 // Disable False Start in SSL and TLS connections. 264 // Disable False Start in SSL and TLS connections.
282 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; 265 const char kDisableSSLFalseStart[] = "disable-ssl-false-start";
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 // |AutomationRenderViewHelper|. 334 // |AutomationRenderViewHelper|.
352 // TODO(kkania): Rename this to enable-renderer-automation after moving the 335 // TODO(kkania): Rename this to enable-renderer-automation after moving the
353 // |DOMAutomationController| to the |AutomationRenderViewHelper|. 336 // |DOMAutomationController| to the |AutomationRenderViewHelper|.
354 const char kDomAutomationController[] = "dom-automation"; 337 const char kDomAutomationController[] = "dom-automation";
355 338
356 // Dump any accumualted histograms to the log when browser terminates (requires 339 // Dump any accumualted histograms to the log when browser terminates (requires
357 // logging to be enabled to really do anything). Used by developers and test 340 // logging to be enabled to really do anything). Used by developers and test
358 // scripts. 341 // scripts.
359 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; 342 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit";
360 343
361 // Enables the hardware acceleration of plugins.
362 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins";
363
364 // Enables AeroPeek for each tab. (This switch only works on Windows 7). 344 // Enables AeroPeek for each tab. (This switch only works on Windows 7).
365 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; 345 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs";
366 346
367 // Enable the inclusion of non-standard ports when generating the Kerberos SPN 347 // Enable the inclusion of non-standard ports when generating the Kerberos SPN
368 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN 348 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN
369 // for more background. 349 // for more background.
370 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; 350 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port";
371 351
372 // This flag enables UI for clearing server data. Temporarily in place 352 // This flag enables UI for clearing server data. Temporarily in place
373 // until there's a server endpoint deployed. 353 // until there's a server endpoint deployed.
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
556 const char kFirstRun[] = "first-run"; 536 const char kFirstRun[] = "first-run";
557 537
558 // Forces the apps/webstore promo to be shown, independent of whether it has 538 // Forces the apps/webstore promo to be shown, independent of whether it has
559 // timed out, etc. Useful for testing. 539 // timed out, etc. Useful for testing.
560 const char kForceAppsPromoVisible[] = "force-apps-promo-visible"; 540 const char kForceAppsPromoVisible[] = "force-apps-promo-visible";
561 541
562 // If accelerated compositing is supported, always enter compositing mode for 542 // If accelerated compositing is supported, always enter compositing mode for
563 // the base layer even when compositing is not strictly required. 543 // the base layer even when compositing is not strictly required.
564 const char kForceCompositingMode[] = "force-compositing-mode"; 544 const char kForceCompositingMode[] = "force-compositing-mode";
565 545
566 // Force renderer accessibility to be on instead of enabling it on demand when
567 // a screen reader is detected. The disable-renderer-accessibility switch
568 // overrides this if present.
569 const char kForceRendererAccessibility[] = "force-renderer-accessibility";
570
571 // Specifies a custom name for the GSSAPI library to load. 546 // Specifies a custom name for the GSSAPI library to load.
572 const char kGSSAPILibraryName[] = "gssapi-library-name"; 547 const char kGSSAPILibraryName[] = "gssapi-library-name";
573 548
574 // These flags show the man page on Linux. They are equivalent to each 549 // These flags show the man page on Linux. They are equivalent to each
575 // other. 550 // other.
576 const char kHelp[] = "help"; 551 const char kHelp[] = "help";
577 const char kHelpShort[] = "h"; 552 const char kHelpShort[] = "h";
578 553
579 // Make Windows happy by allowing it to show "Enable access to this program" 554 // Make Windows happy by allowing it to show "Enable access to this program"
580 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This 555 // checkbox in Add/Remove Programs->Set Program Access and Defaults. This
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 // These mappings only apply to the host resolver. 591 // These mappings only apply to the host resolver.
617 const char kHostResolverRules[] = "host-resolver-rules"; 592 const char kHostResolverRules[] = "host-resolver-rules";
618 593
619 // This switch will take the JSON-formatted HSTS specification and load it 594 // This switch will take the JSON-formatted HSTS specification and load it
620 // as if it were a preloaded HSTS entry. It will take precedence over both 595 // as if it were a preloaded HSTS entry. It will take precedence over both
621 // website-specified rules and built-in rules. 596 // website-specified rules and built-in rules.
622 // The JSON format is the same as that persisted in 597 // The JSON format is the same as that persisted in
623 // <profile_dir>/Default/TransportSecurity 598 // <profile_dir>/Default/TransportSecurity
624 const char kHstsHosts[] = "hsts-hosts"; 599 const char kHstsHosts[] = "hsts-hosts";
625 600
626 // Ignores GPU blacklist.
627 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist";
628
629 // Perform importing from another browser. The value associated with this 601 // Perform importing from another browser. The value associated with this
630 // setting encodes the target browser and what items to import. 602 // setting encodes the target browser and what items to import.
631 const char kImport[] = "import"; 603 const char kImport[] = "import";
632 604
633 // Perform bookmark importing from an HTML file. The value associated with this 605 // Perform bookmark importing from an HTML file. The value associated with this
634 // setting encodes the file path. It may be used jointly with kImport. 606 // setting encodes the file path. It may be used jointly with kImport.
635 const char kImportFromFile[] = "import-from-file"; 607 const char kImportFromFile[] = "import-from-file";
636 608
637 // Causes the browser to launch directly in incognito mode. 609 // Causes the browser to launch directly in incognito mode.
638 const char kIncognito[] = "incognito"; 610 const char kIncognito[] = "incognito";
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
1170 1142
1171 // ----------------------------------------------------------------------------- 1143 // -----------------------------------------------------------------------------
1172 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1144 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1173 // 1145 //
1174 // You were going to just dump your switches here, weren't you? Instead, 1146 // You were going to just dump your switches here, weren't you? Instead,
1175 // please put them in alphabetical order above, or in order inside the 1147 // please put them in alphabetical order above, or in order inside the
1176 // appropriate ifdef at the bottom. The order should match the header. 1148 // appropriate ifdef at the bottom. The order should match the header.
1177 // ----------------------------------------------------------------------------- 1149 // -----------------------------------------------------------------------------
1178 1150
1179 } // namespace switches 1151 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698