| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 | 346 |
| 347 // Enable one or more Blink runtime-enabled features. | 347 // Enable one or more Blink runtime-enabled features. |
| 348 // Use names from RuntimeEnabledFeatures.json5, separated by commas. | 348 // Use names from RuntimeEnabledFeatures.json5, separated by commas. |
| 349 // Applied before kDisableBlinkFeatures, and after other flags that change these | 349 // Applied before kDisableBlinkFeatures, and after other flags that change these |
| 350 // features. | 350 // features. |
| 351 const char kEnableBlinkFeatures[] = "enable-blink-features"; | 351 const char kEnableBlinkFeatures[] = "enable-blink-features"; |
| 352 | 352 |
| 353 // PlzNavigate: Use the experimental browser-side navigation path. | 353 // PlzNavigate: Use the experimental browser-side navigation path. |
| 354 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; | 354 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; |
| 355 | 355 |
| 356 // Changes the behavior of the "default" color space conversion mode in | |
| 357 // createImageBitmap. When enabled without the kEnableColorCorrectRendering | |
| 358 // flag, "default" means color correct the image bitmap to the display color | |
| 359 // space. | |
| 360 const char kEnableColorCorrectRenderingDefaultMode[] = | |
| 361 "enable-color-correct-rendering-default-mode"; | |
| 362 | |
| 363 // Enables display list based 2d canvas implementation. Options: | 356 // Enables display list based 2d canvas implementation. Options: |
| 364 // 1. Enable: allow browser to use display list for 2d canvas (browser makes | 357 // 1. Enable: allow browser to use display list for 2d canvas (browser makes |
| 365 // decision). | 358 // decision). |
| 366 // 2. Force: browser always uses display list for 2d canvas. | 359 // 2. Force: browser always uses display list for 2d canvas. |
| 367 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; | 360 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; |
| 368 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; | 361 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; |
| 369 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; | 362 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; |
| 370 | 363 |
| 371 // Enable experimental canvas features, e.g. canvas 2D context attributes | 364 // Enable experimental canvas features, e.g. canvas 2D context attributes |
| 372 const char kEnableExperimentalCanvasFeatures[] = | 365 const char kEnableExperimentalCanvasFeatures[] = |
| (...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1077 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1070 // the given directory. Used primarily to gather samples for IPC fuzzing. |
| 1078 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1071 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
| 1079 | 1072 |
| 1080 // Specifies the testcase used by the IPC fuzzer. | 1073 // Specifies the testcase used by the IPC fuzzer. |
| 1081 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1074 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
| 1082 #endif | 1075 #endif |
| 1083 | 1076 |
| 1084 // Don't dump stuff here, follow the same order as the header. | 1077 // Don't dump stuff here, follow the same order as the header. |
| 1085 | 1078 |
| 1086 } // namespace switches | 1079 } // namespace switches |
| OLD | NEW |