OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |