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 26 matching lines...) Expand all Loading... |
37 // enable/disable switches to avoid accidentally regressing the policy | 37 // enable/disable switches to avoid accidentally regressing the policy |
38 // support for controlling access to these APIs. | 38 // support for controlling access to these APIs. |
39 const char kDisable3DAPIs[] = "disable-3d-apis"; | 39 const char kDisable3DAPIs[] = "disable-3d-apis"; |
40 | 40 |
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 |
| 48 const char kEnableExperimentalCanvasFeatures[] |
| 49 = "enable-experimental-canvas-features"; |
| 50 |
47 // Disables accelerated compositing. | 51 // Disables accelerated compositing. |
48 const char kDisableAcceleratedCompositing[] = "disable-accelerated-compositing"; | 52 const char kDisableAcceleratedCompositing[] = "disable-accelerated-compositing"; |
49 | 53 |
50 // Disables the hardware acceleration of 3D CSS and animation. | 54 // Disables the hardware acceleration of 3D CSS and animation. |
51 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; | 55 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; |
52 | 56 |
53 // Disables the hardware acceleration of plugins. | 57 // Disables the hardware acceleration of plugins. |
54 const char kDisableAcceleratedPlugins[] = "disable-accelerated-plugins"; | 58 const char kDisableAcceleratedPlugins[] = "disable-accelerated-plugins"; |
55 | 59 |
56 // Disables GPU accelerated video display. | 60 // Disables GPU accelerated video display. |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 // Enables or disables history navigation in response to horizontal overscroll. | 789 // Enables or disables history navigation in response to horizontal overscroll. |
786 // Set the value to '1' to enable the feature, and set to '0' to disable. | 790 // Set the value to '1' to enable the feature, and set to '0' to disable. |
787 // Defaults to enabled. | 791 // Defaults to enabled. |
788 const char kOverscrollHistoryNavigation[] = | 792 const char kOverscrollHistoryNavigation[] = |
789 "overscroll-history-navigation"; | 793 "overscroll-history-navigation"; |
790 | 794 |
791 // Enables 'image/webp' accept header for image requests. | 795 // Enables 'image/webp' accept header for image requests. |
792 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 796 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
793 | 797 |
794 } // namespace switches | 798 } // namespace switches |
OLD | NEW |