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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 // Enable the creation of compositing layers when it would prevent LCD text. | 291 // Enable the creation of compositing layers when it would prevent LCD text. |
292 const char kEnablePreferCompositingToLCDText[] = | 292 const char kEnablePreferCompositingToLCDText[] = |
293 "enable-prefer-compositing-to-lcd-text"; | 293 "enable-prefer-compositing-to-lcd-text"; |
294 | 294 |
295 // PlzNavigate: Use the experimental browser-side navigation path. | 295 // PlzNavigate: Use the experimental browser-side navigation path. |
296 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; | 296 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; |
297 | 297 |
298 // Defer image decoding in WebKit until painting. | 298 // Defer image decoding in WebKit until painting. |
299 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 299 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
300 | 300 |
| 301 // Enables Delay Agnostic AEC in WebRTC. |
| 302 const char kEnableDelayAgnosticAec[] = "enable-delay-agnostic-aec"; |
| 303 |
301 // Enables delegated renderer. | 304 // Enables delegated renderer. |
302 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; | 305 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; |
303 | 306 |
304 // Enables display list based 2d canvas implementation. Options: | 307 // Enables display list based 2d canvas implementation. Options: |
305 // 1. Enable: allow browser to use display list for 2d canvas (browser makes | 308 // 1. Enable: allow browser to use display list for 2d canvas (browser makes |
306 // decision). | 309 // decision). |
307 // 2. Force: browser always uses display list for 2d canvas. | 310 // 2. Force: browser always uses display list for 2d canvas. |
308 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; | 311 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; |
309 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; | 312 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; |
310 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; | 313 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; |
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
973 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) | 976 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) |
974 return false; | 977 return false; |
975 // Default. | 978 // Default. |
976 return group_name == "Enabled"; | 979 return group_name == "Enabled"; |
977 } | 980 } |
978 #endif | 981 #endif |
979 | 982 |
980 // Don't dump stuff here, follow the same order as the header. | 983 // Don't dump stuff here, follow the same order as the header. |
981 | 984 |
982 } // namespace switches | 985 } // namespace switches |
OLD | NEW |