OLD | NEW |
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 "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 30 matching lines...) Expand all Loading... |
41 // Disable gpu-accelerated 2d canvas. | 41 // Disable gpu-accelerated 2d canvas. |
42 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; | 42 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; |
43 | 43 |
44 // Disable antialiasing on 2d canvas. | 44 // Disable antialiasing on 2d canvas. |
45 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; | 45 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; |
46 | 46 |
47 // Enable experimental canvas features, e.g. canvas 2D context attributes | 47 // Enable experimental canvas features, e.g. canvas 2D context attributes |
48 const char kEnableExperimentalCanvasFeatures[] | 48 const char kEnableExperimentalCanvasFeatures[] |
49 = "enable-experimental-canvas-features"; | 49 = "enable-experimental-canvas-features"; |
50 | 50 |
| 51 // By default, cookies are not allowed on file://. They are needed for testing, |
| 52 // for example page cycler and layout tests. See bug 1157243. |
| 53 const char kEnableFileCookies[] = "enable-file-cookies"; |
| 54 |
51 // Disables accelerated compositing. | 55 // Disables accelerated compositing. |
52 const char kDisableAcceleratedCompositing[] = "disable-accelerated-compositing"; | 56 const char kDisableAcceleratedCompositing[] = "disable-accelerated-compositing"; |
53 | 57 |
54 // Disables the hardware acceleration of 3D CSS and animation. | 58 // Disables the hardware acceleration of 3D CSS and animation. |
55 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; | 59 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; |
56 | 60 |
57 // Disables the hardware acceleration of plugins. | 61 // Disables the hardware acceleration of plugins. |
58 const char kDisableAcceleratedPlugins[] = "disable-accelerated-plugins"; | 62 const char kDisableAcceleratedPlugins[] = "disable-accelerated-plugins"; |
59 | 63 |
60 // Disables GPU accelerated video display. | 64 // Disables GPU accelerated video display. |
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
906 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 910 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
907 | 911 |
908 // Enables/disables accelerated compositing for backgrounds of root layers with | 912 // Enables/disables accelerated compositing for backgrounds of root layers with |
909 // background-attachment: fixed. Requires kForceCompositingMode. | 913 // background-attachment: fixed. Requires kForceCompositingMode. |
910 const char kDisableAcceleratedFixedRootBackground[] = | 914 const char kDisableAcceleratedFixedRootBackground[] = |
911 "disable-accelerated-fixed-root-background"; | 915 "disable-accelerated-fixed-root-background"; |
912 const char kEnableAcceleratedFixedRootBackground[] = | 916 const char kEnableAcceleratedFixedRootBackground[] = |
913 "enable-accelerated-fixed-root-background"; | 917 "enable-accelerated-fixed-root-background"; |
914 | 918 |
915 } // namespace switches | 919 } // namespace switches |
OLD | NEW |