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 kForceSoftwareCompositing[] = "force-software-compositing"; |
| 425 |
423 // Passes gpu device_id from browser process to GPU process. | 426 // Passes gpu device_id from browser process to GPU process. |
424 const char kGpuDeviceID[] = "gpu-device-id"; | 427 const char kGpuDeviceID[] = "gpu-device-id"; |
425 | 428 |
426 // Passes gpu driver_vendor from browser process to GPU process. | 429 // Passes gpu driver_vendor from browser process to GPU process. |
427 const char kGpuDriverVendor[] = "gpu-driver-vendor"; | 430 const char kGpuDriverVendor[] = "gpu-driver-vendor"; |
428 | 431 |
429 // Passes gpu driver_version from browser process to GPU process. | 432 // Passes gpu driver_version from browser process to GPU process. |
430 const char kGpuDriverVersion[] = "gpu-driver-version"; | 433 const char kGpuDriverVersion[] = "gpu-driver-version"; |
431 | 434 |
432 // Extra command line options for launching the GPU process (normally used | 435 // 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. | 717 // Sets the width and height above which a composited layer will get tiled. |
715 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 718 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
716 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 719 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
717 | 720 |
718 const char kEnableFixedPositionCreatesStackingContext[] | 721 const char kEnableFixedPositionCreatesStackingContext[] |
719 = "enable-fixed-position-creates-stacking-context"; | 722 = "enable-fixed-position-creates-stacking-context"; |
720 const char kDisableFixedPositionCreatesStackingContext[] | 723 const char kDisableFixedPositionCreatesStackingContext[] |
721 = "disable-fixed-position-creates-stacking-context"; | 724 = "disable-fixed-position-creates-stacking-context"; |
722 | 725 |
723 } // namespace switches | 726 } // namespace switches |
OLD | NEW |