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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. | 43 // Disables client-visible 3D APIs, in particular WebGL and Pepper 3D. |
44 // This is controlled by policy and is kept separate from the other | 44 // This is controlled by policy and is kept separate from the other |
45 // enable/disable switches to avoid accidentally regressing the policy | 45 // enable/disable switches to avoid accidentally regressing the policy |
46 // support for controlling access to these APIs. | 46 // support for controlling access to these APIs. |
47 const char kDisable3DAPIs[] = "disable-3d-apis"; | 47 const char kDisable3DAPIs[] = "disable-3d-apis"; |
48 | 48 |
49 // Disable gpu-accelerated 2d canvas. | 49 // Disable gpu-accelerated 2d canvas. |
50 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; | 50 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; |
51 | 51 |
| 52 // Disable antialiasing on 2d canvas. |
| 53 const char kDisable2dCanvasAntialiasing[] = "disable-canvas-aa"; |
| 54 |
52 // Disables accelerated compositing. | 55 // Disables accelerated compositing. |
53 const char kDisableAcceleratedCompositing[] = "disable-accelerated-compositing"; | 56 const char kDisableAcceleratedCompositing[] = "disable-accelerated-compositing"; |
54 | 57 |
55 // Disables the hardware acceleration of 3D CSS and animation. | 58 // Disables the hardware acceleration of 3D CSS and animation. |
56 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; | 59 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; |
57 | 60 |
58 // Disables the hardware acceleration of plugins. | 61 // Disables the hardware acceleration of plugins. |
59 const char kDisableAcceleratedPlugins[] = "disable-accelerated-plugins"; | 62 const char kDisableAcceleratedPlugins[] = "disable-accelerated-plugins"; |
60 | 63 |
61 // Disables GPU accelerated video display. | 64 // Disables GPU accelerated video display. |
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 = "disable-fixed-position-creates-stacking-context"; | 764 = "disable-fixed-position-creates-stacking-context"; |
762 | 765 |
763 // Defer image decoding in WebKit until painting. | 766 // Defer image decoding in WebKit until painting. |
764 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 767 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
765 | 768 |
766 // Enables history navigation in response to horizontal overscroll. | 769 // Enables history navigation in response to horizontal overscroll. |
767 const char kEnableOverscrollHistoryNavigation[] = | 770 const char kEnableOverscrollHistoryNavigation[] = |
768 "enable-overscroll-history-navigation"; | 771 "enable-overscroll-history-navigation"; |
769 | 772 |
770 } // namespace switches | 773 } // namespace switches |
OLD | NEW |