Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: content/public/common/content_switches.cc

Issue 2893243003: color: Add ColorCanvasExtensions runtime flag (Closed)
Patch Set: Fix logic error in ImageBitmap Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 345
346 // Enable one or more Blink runtime-enabled features. 346 // Enable one or more Blink runtime-enabled features.
347 // Use names from RuntimeEnabledFeatures.json5, separated by commas. 347 // Use names from RuntimeEnabledFeatures.json5, separated by commas.
348 // Applied before kDisableBlinkFeatures, and after other flags that change these 348 // Applied before kDisableBlinkFeatures, and after other flags that change these
349 // features. 349 // features.
350 const char kEnableBlinkFeatures[] = "enable-blink-features"; 350 const char kEnableBlinkFeatures[] = "enable-blink-features";
351 351
352 // PlzNavigate: Use the experimental browser-side navigation path. 352 // PlzNavigate: Use the experimental browser-side navigation path.
353 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; 353 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation";
354 354
355 // Changes the behavior of the "default" color space conversion mode in 355 // Enables color space and pixel format canvas extensions.
356 // createImageBitmap. When enabled without the kEnableColorCorrectRendering 356 const char kEnableColorCanvasExtensions[] = "enable-color-canvas-extensions";
357 // flag, "default" means color correct the image bitmap to the display color
358 // space.
359 const char kEnableColorCorrectRenderingDefaultMode[] =
360 "enable-color-correct-rendering-default-mode";
361 357
362 // Enables display list based 2d canvas implementation. Options: 358 // Enables display list based 2d canvas implementation. Options:
363 // 1. Enable: allow browser to use display list for 2d canvas (browser makes 359 // 1. Enable: allow browser to use display list for 2d canvas (browser makes
364 // decision). 360 // decision).
365 // 2. Force: browser always uses display list for 2d canvas. 361 // 2. Force: browser always uses display list for 2d canvas.
366 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; 362 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas";
367 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; 363 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas";
368 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; 364 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas";
369 365
370 // Enables dynamic rendering pipeline switching to optimize the 366 // Enables dynamic rendering pipeline switching to optimize the
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
1084 // the given directory. Used primarily to gather samples for IPC fuzzing. 1080 // the given directory. Used primarily to gather samples for IPC fuzzing.
1085 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1081 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1086 1082
1087 // Specifies the testcase used by the IPC fuzzer. 1083 // Specifies the testcase used by the IPC fuzzer.
1088 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1084 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1089 #endif 1085 #endif
1090 1086
1091 // Don't dump stuff here, follow the same order as the header. 1087 // Don't dump stuff here, follow the same order as the header.
1092 1088
1093 } // namespace switches 1089 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698