Chromium Code Reviews| 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 354 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; | 354 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; |
| 355 | 355 |
| 356 // Enables display list based 2d canvas implementation. Options: | 356 // Enables display list based 2d canvas implementation. Options: |
| 357 // 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 |
| 358 // decision). | 358 // decision). |
| 359 // 2. Force: browser always uses display list for 2d canvas. | 359 // 2. Force: browser always uses display list for 2d canvas. |
| 360 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; | 360 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; |
| 361 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; | 361 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; |
| 362 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; | 362 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; |
| 363 | 363 |
| 364 // Enables dynamic rendering pipeline switching to optimize the | |
| 365 // performance of 2d canvas | |
| 366 const char kEnableCanvas2dDynamicRenderingMode[] = | |
| 367 "enable-canvas-2d-dynamic-rendering-mode"; | |
|
Stephen White
2016/07/14 18:53:04
As discussed, please add "switching" to these flag
sebastienlc
2016/07/14 22:26:53
Done.
| |
| 368 | |
| 364 // Enable experimental canvas features, e.g. canvas 2D context attributes | 369 // Enable experimental canvas features, e.g. canvas 2D context attributes |
| 365 const char kEnableExperimentalCanvasFeatures[] = | 370 const char kEnableExperimentalCanvasFeatures[] = |
| 366 "enable-experimental-canvas-features"; | 371 "enable-experimental-canvas-features"; |
| 367 | 372 |
| 368 // Enables Web Platform features that are in development. | 373 // Enables Web Platform features that are in development. |
| 369 const char kEnableExperimentalWebPlatformFeatures[] = | 374 const char kEnableExperimentalWebPlatformFeatures[] = |
| 370 "enable-experimental-web-platform-features"; | 375 "enable-experimental-web-platform-features"; |
| 371 | 376 |
| 372 // Comma-separated list of feature names to enable. See also kDisableFeatures. | 377 // Comma-separated list of feature names to enable. See also kDisableFeatures. |
| 373 const char kEnableFeatures[] = "enable-features"; | 378 const char kEnableFeatures[] = "enable-features"; |
| (...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1064 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1069 // the given directory. Used primarily to gather samples for IPC fuzzing. |
| 1065 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1070 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
| 1066 | 1071 |
| 1067 // Specifies the testcase used by the IPC fuzzer. | 1072 // Specifies the testcase used by the IPC fuzzer. |
| 1068 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1073 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
| 1069 #endif | 1074 #endif |
| 1070 | 1075 |
| 1071 // Don't dump stuff here, follow the same order as the header. | 1076 // Don't dump stuff here, follow the same order as the header. |
| 1072 | 1077 |
| 1073 } // namespace switches | 1078 } // namespace switches |
| OLD | NEW |