| 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 #include "media/media_features.h" | 7 #include "media/media_features.h" |
| 8 | 8 |
| 9 namespace switches { | 9 namespace switches { |
| 10 | 10 |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 // Enable one or more Blink runtime-enabled features. | 350 // Enable one or more Blink runtime-enabled features. |
| 351 // Use names from RuntimeEnabledFeatures.json5, separated by commas. | 351 // Use names from RuntimeEnabledFeatures.json5, separated by commas. |
| 352 // Applied before kDisableBlinkFeatures, and after other flags that change these | 352 // Applied before kDisableBlinkFeatures, and after other flags that change these |
| 353 // features. | 353 // features. |
| 354 const char kEnableBlinkFeatures[] = "enable-blink-features"; | 354 const char kEnableBlinkFeatures[] = "enable-blink-features"; |
| 355 | 355 |
| 356 // PlzNavigate: Use the experimental browser-side navigation path. | 356 // PlzNavigate: Use the experimental browser-side navigation path. |
| 357 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; | 357 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; |
| 358 | 358 |
| 359 // Changes the behavior of the "default" color space conversion mode in | 359 // Changes the behavior of the "default" color space conversion mode in |
| 360 // createImageBitmap. When enabled without kEnableColorCorrectRendering or | 360 // createImageBitmap. When enabled without the kEnableColorCorrectRendering |
| 361 // kEnableTrueColorRendering flags, "default" means color correct the image | 361 // flag, "default" means color correct the image bitmap to the display color |
| 362 // bitmap to the display color space. | 362 // space. |
| 363 const char kEnableColorCorrectRenderingDefaultMode[] = | 363 const char kEnableColorCorrectRenderingDefaultMode[] = |
| 364 "enable-color-correct-rendering-default-mode"; | 364 "enable-color-correct-rendering-default-mode"; |
| 365 | 365 |
| 366 | |
| 367 // Enables display list based 2d canvas implementation. Options: | 366 // Enables display list based 2d canvas implementation. Options: |
| 368 // 1. Enable: allow browser to use display list for 2d canvas (browser makes | 367 // 1. Enable: allow browser to use display list for 2d canvas (browser makes |
| 369 // decision). | 368 // decision). |
| 370 // 2. Force: browser always uses display list for 2d canvas. | 369 // 2. Force: browser always uses display list for 2d canvas. |
| 371 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; | 370 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; |
| 372 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; | 371 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; |
| 373 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; | 372 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; |
| 374 | 373 |
| 375 // Enables dynamic rendering pipeline switching to optimize the | 374 // Enables dynamic rendering pipeline switching to optimize the |
| 376 // performance of 2d canvas | 375 // performance of 2d canvas |
| (...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1084 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1083 // the given directory. Used primarily to gather samples for IPC fuzzing. |
| 1085 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1084 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
| 1086 | 1085 |
| 1087 // Specifies the testcase used by the IPC fuzzer. | 1086 // Specifies the testcase used by the IPC fuzzer. |
| 1088 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1087 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
| 1089 #endif | 1088 #endif |
| 1090 | 1089 |
| 1091 // Don't dump stuff here, follow the same order as the header. | 1090 // Don't dump stuff here, follow the same order as the header. |
| 1092 | 1091 |
| 1093 } // namespace switches | 1092 } // namespace switches |
| OLD | NEW |