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

Side by Side Diff: content/public/common/content_switches.cc

Issue 13983014: [CLOSED] Cleaning up the plethora of switches for GPU vs software vs SwiftShader. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « content/public/common/content_switches.h ('k') | content/renderer/render_widget.cc » ('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) 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 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 // testing changes locally. The argument is a list of name and value pairs, 438 // testing changes locally. The argument is a list of name and value pairs,
439 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in 439 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in
440 // field_trial.h for details. 440 // field_trial.h for details.
441 const char kForceFieldTrials[] = "force-fieldtrials"; 441 const char kForceFieldTrials[] = "force-fieldtrials";
442 442
443 // Force renderer accessibility to be on instead of enabling it on demand when 443 // Force renderer accessibility to be on instead of enabling it on demand when
444 // a screen reader is detected. The disable-renderer-accessibility switch 444 // a screen reader is detected. The disable-renderer-accessibility switch
445 // overrides this if present. 445 // overrides this if present.
446 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; 446 const char kForceRendererAccessibility[] = "force-renderer-accessibility";
447 447
448 // Force the compositor to use its software implementation instead of GL.
449 const char kEnableSoftwareCompositingGLAdapter[] =
450 "enable-software-compositing-gl-adapter";
451
452 // Passes gpu device_id from browser process to GPU process. 448 // Passes gpu device_id from browser process to GPU process.
453 const char kGpuDeviceID[] = "gpu-device-id"; 449 const char kGpuDeviceID[] = "gpu-device-id";
454 450
455 // Passes gpu driver_vendor from browser process to GPU process. 451 // Passes gpu driver_vendor from browser process to GPU process.
456 const char kGpuDriverVendor[] = "gpu-driver-vendor"; 452 const char kGpuDriverVendor[] = "gpu-driver-vendor";
457 453
458 // Passes gpu driver_version from browser process to GPU process. 454 // Passes gpu driver_version from browser process to GPU process.
459 const char kGpuDriverVersion[] = "gpu-driver-version"; 455 const char kGpuDriverVersion[] = "gpu-driver-version";
460 456
461 // Extra command line options for launching the GPU process (normally used 457 // Extra command line options for launching the GPU process (normally used
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 const char kEnableVsyncNotification[] = "enable-vsync-notification"; 776 const char kEnableVsyncNotification[] = "enable-vsync-notification";
781 777
782 // Enables history navigation in response to horizontal overscroll. 778 // Enables history navigation in response to horizontal overscroll.
783 const char kEnableOverscrollHistoryNavigation[] = 779 const char kEnableOverscrollHistoryNavigation[] =
784 "enable-overscroll-history-navigation"; 780 "enable-overscroll-history-navigation";
785 781
786 // Enables 'image/webp' accept header for image requests. 782 // Enables 'image/webp' accept header for image requests.
787 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; 783 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header";
788 784
789 } // namespace switches 785 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698