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

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

Issue 8474007: Disable accelerated 2d canvas and put it back as an option in about:flags. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/912/src/
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 21 matching lines...) Expand all
32 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run 32 // Run Chrome in Chrome Frame mode. This means that Chrome expects to be run
33 // as a dependent process of the Chrome Frame plugin. 33 // as a dependent process of the Chrome Frame plugin.
34 const char kChromeFrame[] = "chrome-frame"; 34 const char kChromeFrame[] = "chrome-frame";
35 35
36 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. 36 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D.
37 // This is controlled by policy and is kept separate from the other 37 // This is controlled by policy and is kept separate from the other
38 // enable/disable switches to avoid accidentally regressing the policy 38 // enable/disable switches to avoid accidentally regressing the policy
39 // support for controlling access to these APIs. 39 // support for controlling access to these APIs.
40 const char kDisable3DAPIs[] = "disable-3d-apis"; 40 const char kDisable3DAPIs[] = "disable-3d-apis";
41 41
42 // Disable gpu-accelerated 2d canvas.
43 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas";
44
45 // Disables accelerated compositing. 42 // Disables accelerated compositing.
46 const char kDisableAcceleratedCompositing[] = "disable-accelerated-compositing"; 43 const char kDisableAcceleratedCompositing[] = "disable-accelerated-compositing";
47 44
48 // Disables the hardware acceleration of 3D CSS and animation. 45 // Disables the hardware acceleration of 3D CSS and animation.
49 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; 46 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers";
50 47
51 // Disables the hardware acceleration of plugins. 48 // Disables the hardware acceleration of plugins.
52 const char kDisableAcceleratedPlugins[] = "disable-accelerated-plugins"; 49 const char kDisableAcceleratedPlugins[] = "disable-accelerated-plugins";
53 50
54 // Disables GPU accelerated video display. 51 // Disables GPU accelerated video display.
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 // instead of NSS for SSL. 491 // instead of NSS for SSL.
495 const char kUseSystemSSL[] = "use-system-ssl"; 492 const char kUseSystemSSL[] = "use-system-ssl";
496 #endif 493 #endif
497 494
498 #if !defined(OFFICIAL_BUILD) 495 #if !defined(OFFICIAL_BUILD)
499 // Causes the renderer process to throw an assertion on launch. 496 // Causes the renderer process to throw an assertion on launch.
500 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; 497 const char kRendererCheckFalseTest[] = "renderer-check-false-test";
501 #endif 498 #endif
502 499
503 } // namespace switches 500 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698