OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 // testing changes locally. The argument is a list of name and value pairs, | 413 // testing changes locally. The argument is a list of name and value pairs, |
414 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in | 414 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in |
415 // field_trial.h for details. | 415 // field_trial.h for details. |
416 const char kForceFieldTrials[] = "force-fieldtrials"; | 416 const char kForceFieldTrials[] = "force-fieldtrials"; |
417 | 417 |
418 // Force renderer accessibility to be on instead of enabling it on demand when | 418 // Force renderer accessibility to be on instead of enabling it on demand when |
419 // a screen reader is detected. The disable-renderer-accessibility switch | 419 // a screen reader is detected. The disable-renderer-accessibility switch |
420 // overrides this if present. | 420 // overrides this if present. |
421 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; | 421 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; |
422 | 422 |
| 423 // Force the compositor to use its software implementation instead of GL. |
| 424 const char kEnableSoftwareCompositingGLAdapter[] = |
| 425 "enable-software-compositing-gl-adapter"; |
| 426 |
423 // Passes gpu device_id from browser process to GPU process. | 427 // Passes gpu device_id from browser process to GPU process. |
424 const char kGpuDeviceID[] = "gpu-device-id"; | 428 const char kGpuDeviceID[] = "gpu-device-id"; |
425 | 429 |
426 // Passes gpu driver_vendor from browser process to GPU process. | 430 // Passes gpu driver_vendor from browser process to GPU process. |
427 const char kGpuDriverVendor[] = "gpu-driver-vendor"; | 431 const char kGpuDriverVendor[] = "gpu-driver-vendor"; |
428 | 432 |
429 // Passes gpu driver_version from browser process to GPU process. | 433 // Passes gpu driver_version from browser process to GPU process. |
430 const char kGpuDriverVersion[] = "gpu-driver-version"; | 434 const char kGpuDriverVersion[] = "gpu-driver-version"; |
431 | 435 |
432 // Extra command line options for launching the GPU process (normally used | 436 // Extra command line options for launching the GPU process (normally used |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 // Sets the width and height above which a composited layer will get tiled. | 718 // Sets the width and height above which a composited layer will get tiled. |
715 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 719 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
716 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 720 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
717 | 721 |
718 const char kEnableFixedPositionCreatesStackingContext[] | 722 const char kEnableFixedPositionCreatesStackingContext[] |
719 = "enable-fixed-position-creates-stacking-context"; | 723 = "enable-fixed-position-creates-stacking-context"; |
720 const char kDisableFixedPositionCreatesStackingContext[] | 724 const char kDisableFixedPositionCreatesStackingContext[] |
721 = "disable-fixed-position-creates-stacking-context"; | 725 = "disable-fixed-position-creates-stacking-context"; |
722 | 726 |
723 } // namespace switches | 727 } // namespace switches |
OLD | NEW |