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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 // testing changes locally. The argument is a list of name and value pairs, | 365 // testing changes locally. The argument is a list of name and value pairs, |
366 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in | 366 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in |
367 // field_trial.h for details. | 367 // field_trial.h for details. |
368 const char kForceFieldTrials[] = "force-fieldtrials"; | 368 const char kForceFieldTrials[] = "force-fieldtrials"; |
369 | 369 |
370 // Force renderer accessibility to be on instead of enabling it on demand when | 370 // Force renderer accessibility to be on instead of enabling it on demand when |
371 // a screen reader is detected. The disable-renderer-accessibility switch | 371 // a screen reader is detected. The disable-renderer-accessibility switch |
372 // overrides this if present. | 372 // overrides this if present. |
373 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; | 373 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; |
374 | 374 |
| 375 // Passes gpu device_id from browser process to GPU process. |
| 376 const char kGpuDeviceID[] = "gpu-device-id"; |
| 377 |
| 378 // Passes gpu driver_version from browser process to GPU process. |
| 379 const char kGpuDriverVersion[] = "gpu-driver-version"; |
| 380 |
375 // Extra command line options for launching the GPU process (normally used | 381 // Extra command line options for launching the GPU process (normally used |
376 // for debugging). Use like renderer-cmd-prefix. | 382 // for debugging). Use like renderer-cmd-prefix. |
377 const char kGpuLauncher[] = "gpu-launcher"; | 383 const char kGpuLauncher[] = "gpu-launcher"; |
378 | 384 |
379 // Makes this process a GPU sub-process. | 385 // Makes this process a GPU sub-process. |
380 const char kGpuProcess[] = "gpu-process"; | 386 const char kGpuProcess[] = "gpu-process"; |
381 | 387 |
382 // Causes the GPU process to display a dialog on launch. | 388 // Causes the GPU process to display a dialog on launch. |
383 const char kGpuStartupDialog[] = "gpu-startup-dialog"; | 389 const char kGpuStartupDialog[] = "gpu-startup-dialog"; |
384 | 390 |
| 391 // Passes gpu vendor_id from browser process to GPU process. |
| 392 const char kGpuVendorID[] = "gpu-vendor-id"; |
| 393 |
385 // Run the GPU process as a thread in the browser process. | 394 // Run the GPU process as a thread in the browser process. |
386 const char kInProcessGPU[] = "in-process-gpu"; | 395 const char kInProcessGPU[] = "in-process-gpu"; |
387 | 396 |
388 // Runs plugins inside the renderer process | 397 // Runs plugins inside the renderer process |
389 const char kInProcessPlugins[] = "in-process-plugins"; | 398 const char kInProcessPlugins[] = "in-process-plugins"; |
390 | 399 |
391 // Runs WebGL inside the renderer process. | 400 // Runs WebGL inside the renderer process. |
392 const char kInProcessWebGL[] = "in-process-webgl"; | 401 const char kInProcessWebGL[] = "in-process-webgl"; |
393 | 402 |
394 // Invert web content pixels, for users who prefer white-on-black. | 403 // Invert web content pixels, for users who prefer white-on-black. |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
621 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; | 630 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; |
622 | 631 |
623 // Maximum time between mousedown and mouseup to be considered a tap. | 632 // Maximum time between mousedown and mouseup to be considered a tap. |
624 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; | 633 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; |
625 | 634 |
626 // Forces usage of the test compositor. Needed to run ui tests on bots. | 635 // Forces usage of the test compositor. Needed to run ui tests on bots. |
627 extern const char kTestCompositor[] = "test-compositor"; | 636 extern const char kTestCompositor[] = "test-compositor"; |
628 #endif | 637 #endif |
629 | 638 |
630 } // namespace switches | 639 } // namespace switches |
OLD | NEW |