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

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

Issue 8334040: Disable accelerated 2d canvas by default. Add an --enable-accelerated-2d-canvas flag (Closed) Base URL: svn://chrome-svn/chrome/trunk/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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 // instead of NSS for SSL. 512 // instead of NSS for SSL.
516 const char kUseSystemSSL[] = "use-system-ssl"; 513 const char kUseSystemSSL[] = "use-system-ssl";
517 #endif 514 #endif
518 515
519 #if !defined(OFFICIAL_BUILD) 516 #if !defined(OFFICIAL_BUILD)
520 // Causes the renderer process to throw an assertion on launch. 517 // Causes the renderer process to throw an assertion on launch.
521 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; 518 const char kRendererCheckFalseTest[] = "renderer-check-false-test";
522 #endif 519 #endif
523 520
524 } // namespace switches 521 } // 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