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

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

Issue 2903053002: Removing canvas rendering mode switching feature (Closed)
Patch Set: fix test failure Created 3 years, 6 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 "enable-color-correct-rendering-default-mode"; 364 "enable-color-correct-rendering-default-mode";
365 365
366 // Enables display list based 2d canvas implementation. Options: 366 // Enables display list based 2d canvas implementation. Options:
367 // 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
368 // decision). 368 // decision).
369 // 2. Force: browser always uses display list for 2d canvas. 369 // 2. Force: browser always uses display list for 2d canvas.
370 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas"; 370 const char kEnableDisplayList2dCanvas[] = "enable-display-list-2d-canvas";
371 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas"; 371 const char kForceDisplayList2dCanvas[] = "force-display-list-2d-canvas";
372 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas"; 372 const char kDisableDisplayList2dCanvas[] = "disable-display-list-2d-canvas";
373 373
374 // Enables dynamic rendering pipeline switching to optimize the
375 // performance of 2d canvas
376 const char kEnableCanvas2dDynamicRenderingModeSwitching[] =
377 "enable-canvas-2d-dynamic-rendering-mode-switching";
378
379 // Enable experimental canvas features, e.g. canvas 2D context attributes 374 // Enable experimental canvas features, e.g. canvas 2D context attributes
380 const char kEnableExperimentalCanvasFeatures[] = 375 const char kEnableExperimentalCanvasFeatures[] =
381 "enable-experimental-canvas-features"; 376 "enable-experimental-canvas-features";
382 377
383 // Enables Web Platform features that are in development. 378 // Enables Web Platform features that are in development.
384 const char kEnableExperimentalWebPlatformFeatures[] = 379 const char kEnableExperimentalWebPlatformFeatures[] =
385 "enable-experimental-web-platform-features"; 380 "enable-experimental-web-platform-features";
386 381
387 // Comma-separated list of feature names to enable. See also kDisableFeatures. 382 // Comma-separated list of feature names to enable. See also kDisableFeatures.
388 const char kEnableFeatures[] = "enable-features"; 383 const char kEnableFeatures[] = "enable-features";
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
1088 // the given directory. Used primarily to gather samples for IPC fuzzing. 1083 // the given directory. Used primarily to gather samples for IPC fuzzing.
1089 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1084 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1090 1085
1091 // Specifies the testcase used by the IPC fuzzer. 1086 // Specifies the testcase used by the IPC fuzzer.
1092 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1087 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1093 #endif 1088 #endif
1094 1089
1095 // 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.
1096 1091
1097 } // namespace switches 1092 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | third_party/WebKit/Source/core/html/HTMLCanvasElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698