| 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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 // Enable the creation of compositing layers when it would prevent LCD text. | 308 // Enable the creation of compositing layers when it would prevent LCD text. |
| 309 const char kEnablePreferCompositingToLCDText[] = | 309 const char kEnablePreferCompositingToLCDText[] = |
| 310 "enable-prefer-compositing-to-lcd-text"; | 310 "enable-prefer-compositing-to-lcd-text"; |
| 311 | 311 |
| 312 // PlzNavigate: Use the experimental browser-side navigation path. | 312 // PlzNavigate: Use the experimental browser-side navigation path. |
| 313 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; | 313 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; |
| 314 | 314 |
| 315 // Defer image decoding in WebKit until painting. | 315 // Defer image decoding in WebKit until painting. |
| 316 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 316 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 317 | 317 |
| 318 // Enables Delay Agnostic AEC in WebRTC. |
| 319 const char kEnableDelayAgnosticAec[] = "enable-delay-agnostic-aec"; |
| 320 |
| 318 // Enables delegated renderer. | 321 // Enables delegated renderer. |
| 319 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; | 322 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; |
| 320 | 323 |
| 321 // Enables display list based 2d canvas implementation. Options: | 324 // Enables display list based 2d canvas implementation. Options: |
| 322 // 1. Enable: allow browser to use display list for 2d canvas (browser makes | 325 // 1. Enable: allow browser to use display list for 2d canvas (browser makes |
| 323 // decision). | 326 // decision). |
| 324 // 2. Force: browser always uses display list for 2d canvas. | 327 // 2. Force: browser always uses display list for 2d canvas. |
| 325 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; | 328 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; |
| 326 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; | 329 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; |
| 327 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; | 330 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; |
| (...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 993 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) | 996 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) |
| 994 return false; | 997 return false; |
| 995 // Default. | 998 // Default. |
| 996 return group_name == "Enabled"; | 999 return group_name == "Enabled"; |
| 997 } | 1000 } |
| 998 #endif | 1001 #endif |
| 999 | 1002 |
| 1000 // Don't dump stuff here, follow the same order as the header. | 1003 // Don't dump stuff here, follow the same order as the header. |
| 1001 | 1004 |
| 1002 } // namespace switches | 1005 } // namespace switches |
| OLD | NEW |