| 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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/metrics/field_trial.h" | 8 #include "base/metrics/field_trial.h" |
| 9 | 9 |
| 10 namespace switches { | 10 namespace switches { |
| (...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 // This option is also used by the browser to send the list of trials to | 490 // This option is also used by the browser to send the list of trials to |
| 491 // renderers, using the same format. See | 491 // renderers, using the same format. See |
| 492 // FieldTrialList::CreateTrialsFromString() in field_trial.h for details. | 492 // FieldTrialList::CreateTrialsFromString() in field_trial.h for details. |
| 493 const char kForceFieldTrials[] = "force-fieldtrials"; | 493 const char kForceFieldTrials[] = "force-fieldtrials"; |
| 494 | 494 |
| 495 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU | 495 // Always use the Skia GPU backend for drawing layer tiles. Only valid with GPU |
| 496 // accelerated compositing + impl-side painting. Overrides the | 496 // accelerated compositing + impl-side painting. Overrides the |
| 497 // kEnableGpuRasterization flag. | 497 // kEnableGpuRasterization flag. |
| 498 const char kForceGpuRasterization[] = "force-gpu-rasterization"; | 498 const char kForceGpuRasterization[] = "force-gpu-rasterization"; |
| 499 | 499 |
| 500 // The number of multisample antialiasing samples for GPU rasterization. |
| 501 // Requires MSAA support on GPU to have an effect. 0 disables MSAA. |
| 502 const char kGpuRasterizationMSAASampleCount[] = |
| 503 "gpu-rasterization-msaa-sample-count"; |
| 504 |
| 500 // Force renderer accessibility to be on instead of enabling it on demand when | 505 // Force renderer accessibility to be on instead of enabling it on demand when |
| 501 // a screen reader is detected. The disable-renderer-accessibility switch | 506 // a screen reader is detected. The disable-renderer-accessibility switch |
| 502 // overrides this if present. | 507 // overrides this if present. |
| 503 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; | 508 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; |
| 504 | 509 |
| 505 // Always use text blob rendering, overriding kDisableTextBlobs and any | 510 // Always use text blob rendering, overriding kDisableTextBlobs and any |
| 506 // heuristics that may otherwise disable it. | 511 // heuristics that may otherwise disable it. |
| 507 // TODO(fmalita): remove after --disable-impl-side-painting is phased out. | 512 // TODO(fmalita): remove after --disable-impl-side-painting is phased out. |
| 508 const char kForceTextBlobs[] = "force-text-blobs"; | 513 const char kForceTextBlobs[] = "force-text-blobs"; |
| 509 | 514 |
| (...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 972 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) | 977 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) |
| 973 return false; | 978 return false; |
| 974 // Default. | 979 // Default. |
| 975 return group_name == "Enabled"; | 980 return group_name == "Enabled"; |
| 976 } | 981 } |
| 977 #endif | 982 #endif |
| 978 | 983 |
| 979 // Don't dump stuff here, follow the same order as the header. | 984 // Don't dump stuff here, follow the same order as the header. |
| 980 | 985 |
| 981 } // namespace switches | 986 } // namespace switches |
| OLD | NEW |