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

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

Issue 2522693002: Color correct ImageBitmap(HTMLImageElement*) constructor (Closed)
Patch Set: Rebaseline Created 4 years 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 344
345 // Enable one or more Blink runtime-enabled features. 345 // Enable one or more Blink runtime-enabled features.
346 // Use names from RuntimeEnabledFeatures.in, separated by commas. 346 // Use names from RuntimeEnabledFeatures.in, separated by commas.
347 // Applied before kDisableBlinkFeatures, and after other flags that change these 347 // Applied before kDisableBlinkFeatures, and after other flags that change these
348 // features. 348 // features.
349 const char kEnableBlinkFeatures[] = "enable-blink-features"; 349 const char kEnableBlinkFeatures[] = "enable-blink-features";
350 350
351 // PlzNavigate: Use the experimental browser-side navigation path. 351 // PlzNavigate: Use the experimental browser-side navigation path.
352 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; 352 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation";
353 353
354 // Changes the behavior of the "default" color space conversion mode in
355 // createImageBitmap. When enabled without kEnableColorCorrectRendering or
356 // kEnableTrueColorRendering flags, "default" means color correct the image
357 // bitmap to the display color space.
358 const char kEnableColorCorrectRenderingDefaultMode[] =
359 "enable-color-correct-rendering-default-mode";
360
361
354 // Enables display list based 2d canvas implementation. Options: 362 // Enables display list based 2d canvas implementation. Options:
355 // 1. Enable: allow browser to use display list for 2d canvas (browser makes 363 // 1. Enable: allow browser to use display list for 2d canvas (browser makes
356 // decision). 364 // decision).
357 // 2. Force: browser always uses display list for 2d canvas. 365 // 2. Force: browser always uses display list for 2d canvas.
358 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; 366 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas";
359 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; 367 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas";
360 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; 368 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas";
361 369
362 // Enables dynamic rendering pipeline switching to optimize the 370 // Enables dynamic rendering pipeline switching to optimize the
363 // performance of 2d canvas 371 // performance of 2d canvas
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 // the given directory. Used primarily to gather samples for IPC fuzzing. 1093 // the given directory. Used primarily to gather samples for IPC fuzzing.
1086 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1094 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1087 1095
1088 // Specifies the testcase used by the IPC fuzzer. 1096 // Specifies the testcase used by the IPC fuzzer.
1089 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1097 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1090 #endif 1098 #endif
1091 1099
1092 // Don't dump stuff here, follow the same order as the header. 1100 // Don't dump stuff here, follow the same order as the header.
1093 1101
1094 } // namespace switches 1102 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698