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/common/content_switches.h" | 5 #include "content/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 | 32 |
33 // Disable gpu-accelerated 2d canvas. | 33 // Disable gpu-accelerated 2d canvas. |
34 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; | 34 const char kDisableAccelerated2dCanvas[] = "disable-accelerated-2d-canvas"; |
35 | 35 |
36 // Disables accelerated compositing. | 36 // Disables accelerated compositing. |
37 const char kDisableAcceleratedCompositing[] = "disable-accelerated-compositing"; | 37 const char kDisableAcceleratedCompositing[] = "disable-accelerated-compositing"; |
38 | 38 |
39 // Disables the hardware acceleration of 3D CSS and animation. | 39 // Disables the hardware acceleration of 3D CSS and animation. |
40 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; | 40 const char kDisableAcceleratedLayers[] = "disable-accelerated-layers"; |
41 | 41 |
| 42 // Disables the hardware acceleration of plugins. |
| 43 const char kDisableAcceleratedPlugins[] = "disable-accelerated-plugins"; |
| 44 |
42 // Disables GPU accelerated video display. | 45 // Disables GPU accelerated video display. |
43 const char kDisableAcceleratedVideo[] = "disable-accelerated-video"; | 46 const char kDisableAcceleratedVideo[] = "disable-accelerated-video"; |
44 | 47 |
45 // Disables the alternate window station for the renderer. | 48 // Disables the alternate window station for the renderer. |
46 const char kDisableAltWinstation[] = "disable-winsta"; | 49 const char kDisableAltWinstation[] = "disable-winsta"; |
47 | 50 |
48 // Disable the ApplicationCache. | 51 // Disable the ApplicationCache. |
49 const char kDisableApplicationCache[] = "disable-application-cache"; | 52 const char kDisableApplicationCache[] = "disable-application-cache"; |
50 // | 53 // |
51 // TODO(scherkus): remove --disable-audio when we have a proper fallback | 54 // TODO(scherkus): remove --disable-audio when we have a proper fallback |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 149 |
147 // Enable gpu-accelerated 2d canvas. | 150 // Enable gpu-accelerated 2d canvas. |
148 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; | 151 const char kEnableAccelerated2dCanvas[] = "enable-accelerated-2d-canvas"; |
149 | 152 |
150 // Enable hardware accelerated page drawing. | 153 // Enable hardware accelerated page drawing. |
151 // Please note that this flag is honored only if chromium is compiled with | 154 // Please note that this flag is honored only if chromium is compiled with |
152 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1 | 155 // SKIA_GPU flag, which can be enabled by setting use_skia_gpu variable to 1 |
153 // in build/features_override.gypi. | 156 // in build/features_override.gypi. |
154 const char kEnableAcceleratedDrawing[] = "enable-accelerated-drawing"; | 157 const char kEnableAcceleratedDrawing[] = "enable-accelerated-drawing"; |
155 | 158 |
156 // Enables the hardware acceleration of plugins. | |
157 const char kEnableAcceleratedPlugins[] = "enable-accelerated-plugins"; | |
158 | |
159 // Enables WebKit accessibility within the renderer process. | 159 // Enables WebKit accessibility within the renderer process. |
160 const char kEnableAccessibility[] = "enable-accessibility"; | 160 const char kEnableAccessibility[] = "enable-accessibility"; |
161 | 161 |
162 // Enables the benchmarking extensions. | 162 // Enables the benchmarking extensions. |
163 const char kEnableBenchmarking[] = "enable-benchmarking"; | 163 const char kEnableBenchmarking[] = "enable-benchmarking"; |
164 | 164 |
165 // Enables device motion events. | 165 // Enables device motion events. |
166 const char kEnableDeviceMotion[] = "enable-device-motion"; | 166 const char kEnableDeviceMotion[] = "enable-device-motion"; |
167 | 167 |
168 // Enable the GPU plugin and Pepper 3D rendering. | 168 // Enable the GPU plugin and Pepper 3D rendering. |
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 // Specify the amount the trackpad should scroll by. | 475 // Specify the amount the trackpad should scroll by. |
476 const char kScrollPixels[] = "scroll-pixels"; | 476 const char kScrollPixels[] = "scroll-pixels"; |
477 #endif | 477 #endif |
478 | 478 |
479 #if !defined(OFFICIAL_BUILD) | 479 #if !defined(OFFICIAL_BUILD) |
480 // Causes the renderer process to throw an assertion on launch. | 480 // Causes the renderer process to throw an assertion on launch. |
481 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; | 481 const char kRendererCheckFalseTest[] = "renderer-check-false-test"; |
482 #endif | 482 #endif |
483 | 483 |
484 } // namespace switches | 484 } // namespace switches |
OLD | NEW |