| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
| 7 | 7 |
| 8 namespace switches { | 8 namespace switches { |
| 9 | 9 |
| 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 // Only valid if GPU rasterization is enabled as well. | 314 // Only valid if GPU rasterization is enabled as well. |
| 315 const char kEnableDistanceFieldText[] = "enable-distance-field-text"; | 315 const char kEnableDistanceFieldText[] = "enable-distance-field-text"; |
| 316 | 316 |
| 317 // Enable the experimental Credential Manager JavaScript API. | 317 // Enable the experimental Credential Manager JavaScript API. |
| 318 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api"; | 318 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api"; |
| 319 | 319 |
| 320 // Enable the creation of compositing layers when it would prevent LCD text. | 320 // Enable the creation of compositing layers when it would prevent LCD text. |
| 321 const char kEnablePreferCompositingToLCDText[] = | 321 const char kEnablePreferCompositingToLCDText[] = |
| 322 "enable-prefer-compositing-to-lcd-text"; | 322 "enable-prefer-compositing-to-lcd-text"; |
| 323 | 323 |
| 324 // Enable partial experimental support for pointer event feature in blink |
| 325 const char kEnablePointerEvents[] = "enable-pointer-events"; |
| 326 |
| 324 // Disable one or more Blink runtime-enabled features. | 327 // Disable one or more Blink runtime-enabled features. |
| 325 // Use names from RuntimeEnabledFeatures.in, separated by commas. | 328 // Use names from RuntimeEnabledFeatures.in, separated by commas. |
| 326 // Applied before kDisableBlinkFeatures, and after other flags that change these | 329 // Applied before kDisableBlinkFeatures, and after other flags that change these |
| 327 // features. | 330 // features. |
| 328 const char kEnableBlinkFeatures[] = "enable-blink-features"; | 331 const char kEnableBlinkFeatures[] = "enable-blink-features"; |
| 329 | 332 |
| 330 // PlzNavigate: Use the experimental browser-side navigation path. | 333 // PlzNavigate: Use the experimental browser-side navigation path. |
| 331 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; | 334 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; |
| 332 | 335 |
| 333 // Enables display list based 2d canvas implementation. Options: | 336 // Enables display list based 2d canvas implementation. Options: |
| (...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 995 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 998 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 996 | 999 |
| 997 // Enables the exporting of the tracing events to ETW. This is only supported on | 1000 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 998 // Windows Vista and later. | 1001 // Windows Vista and later. |
| 999 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1002 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1000 #endif | 1003 #endif |
| 1001 | 1004 |
| 1002 // Don't dump stuff here, follow the same order as the header. | 1005 // Don't dump stuff here, follow the same order as the header. |
| 1003 | 1006 |
| 1004 } // namespace switches | 1007 } // namespace switches |
| OLD | NEW |