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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 // Causes the GPU process to display a dialog on launch. | 437 // Causes the GPU process to display a dialog on launch. |
438 const char kGpuStartupDialog[] = "gpu-startup-dialog"; | 438 const char kGpuStartupDialog[] = "gpu-startup-dialog"; |
439 | 439 |
440 // Passes gpu vendor_id from browser process to GPU process. | 440 // Passes gpu vendor_id from browser process to GPU process. |
441 const char kGpuVendorID[] = "gpu-vendor-id"; | 441 const char kGpuVendorID[] = "gpu-vendor-id"; |
442 | 442 |
443 // Used in conjunction with kRendererProcess. This causes the process | 443 // Used in conjunction with kRendererProcess. This causes the process |
444 // to run as a guest renderer instead of a regular renderer. | 444 // to run as a guest renderer instead of a regular renderer. |
445 const char kGuestRenderer[] = "guest-renderer"; | 445 const char kGuestRenderer[] = "guest-renderer"; |
446 | 446 |
| 447 // Ignores GPU blacklist. |
| 448 const char kIgnoreGpuBlacklist[] = "ignore-gpu-blacklist"; |
| 449 |
447 // Run the GPU process as a thread in the browser process. | 450 // Run the GPU process as a thread in the browser process. |
448 const char kInProcessGPU[] = "in-process-gpu"; | 451 const char kInProcessGPU[] = "in-process-gpu"; |
449 | 452 |
450 // Runs plugins inside the renderer process | 453 // Runs plugins inside the renderer process |
451 const char kInProcessPlugins[] = "in-process-plugins"; | 454 const char kInProcessPlugins[] = "in-process-plugins"; |
452 | 455 |
453 // Runs WebGL inside the renderer process. | 456 // Runs WebGL inside the renderer process. |
454 const char kInProcessWebGL[] = "in-process-webgl"; | 457 const char kInProcessWebGL[] = "in-process-webgl"; |
455 | 458 |
456 // Specifies the flags passed to JS engine | 459 // Specifies the flags passed to JS engine |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 // Sets the width and height above which a composited layer will get tiled. | 715 // Sets the width and height above which a composited layer will get tiled. |
713 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 716 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
714 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 717 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
715 | 718 |
716 const char kEnableFixedPositionCreatesStackingContext[] | 719 const char kEnableFixedPositionCreatesStackingContext[] |
717 = "enable-fixed-position-creates-stacking-context"; | 720 = "enable-fixed-position-creates-stacking-context"; |
718 const char kDisableFixedPositionCreatesStackingContext[] | 721 const char kDisableFixedPositionCreatesStackingContext[] |
719 = "disable-fixed-position-creates-stacking-context"; | 722 = "disable-fixed-position-creates-stacking-context"; |
720 | 723 |
721 } // namespace switches | 724 } // namespace switches |
OLD | NEW |