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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 // this switch. | 217 // this switch. |
218 const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc"; | 218 const char kDisableKillAfterBadIPC[] = "disable-kill-after-bad-ipc"; |
219 | 219 |
220 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()). | 220 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()). |
221 const char kDisablePrefixedEncryptedMedia[] = | 221 const char kDisablePrefixedEncryptedMedia[] = |
222 "disable-prefixed-encrypted-media"; | 222 "disable-prefixed-encrypted-media"; |
223 | 223 |
224 // Disables LCD text. | 224 // Disables LCD text. |
225 const char kDisableLCDText[] = "disable-lcd-text"; | 225 const char kDisableLCDText[] = "disable-lcd-text"; |
226 | 226 |
| 227 // Disables distance field text. |
| 228 const char kDisableDistanceFieldText[] = "disable-distance-field-text"; |
| 229 |
227 // Disable LocalStorage. | 230 // Disable LocalStorage. |
228 const char kDisableLocalStorage[] = "disable-local-storage"; | 231 const char kDisableLocalStorage[] = "disable-local-storage"; |
229 | 232 |
230 // Force logging to be disabled. Logging is enabled by default in debug | 233 // Force logging to be disabled. Logging is enabled by default in debug |
231 // builds. | 234 // builds. |
232 const char kDisableLogging[] = "disable-logging"; | 235 const char kDisableLogging[] = "disable-logging"; |
233 | 236 |
234 // Disables Media Source API (i.e., the MediaSource object). | 237 // Disables Media Source API (i.e., the MediaSource object). |
235 const char kDisableMediaSource[] = "disable-media-source"; | 238 const char kDisableMediaSource[] = "disable-media-source"; |
236 | 239 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 "enable-accelerated-fixed-root-background"; | 330 "enable-accelerated-fixed-root-background"; |
328 | 331 |
329 // Enables accelerated compositing for overflow scroll. Promotes eligible | 332 // Enables accelerated compositing for overflow scroll. Promotes eligible |
330 // overflow:scroll elements to layers to enable accelerated scrolling for them. | 333 // overflow:scroll elements to layers to enable accelerated scrolling for them. |
331 const char kEnableAcceleratedOverflowScroll[] = | 334 const char kEnableAcceleratedOverflowScroll[] = |
332 "enable-accelerated-overflow-scroll"; | 335 "enable-accelerated-overflow-scroll"; |
333 | 336 |
334 // Enables LCD text. | 337 // Enables LCD text. |
335 const char kEnableLCDText[] = "enable-lcd-text"; | 338 const char kEnableLCDText[] = "enable-lcd-text"; |
336 | 339 |
| 340 // Enables using signed distance fields when rendering text. |
| 341 // Only valid if GPU rasterization is enabled as well. |
| 342 const char kEnableDistanceFieldText[] = "enable-distance-field-text"; |
| 343 |
337 // Enables experimental feature that maps multiple RenderLayers to | 344 // Enables experimental feature that maps multiple RenderLayers to |
338 // one composited layer to avoid pathological layer counts. | 345 // one composited layer to avoid pathological layer counts. |
339 const char kEnableLayerSquashing[] = | 346 const char kEnableLayerSquashing[] = |
340 "enable-layer-squashing"; | 347 "enable-layer-squashing"; |
341 | 348 |
342 // Enable experimental container node culling. | 349 // Enable experimental container node culling. |
343 const char kEnableContainerCulling[] = "enable-container-culling"; | 350 const char kEnableContainerCulling[] = "enable-container-culling"; |
344 | 351 |
345 // Turns on extremely verbose logging of accessibility events. | 352 // Turns on extremely verbose logging of accessibility events. |
346 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; | 353 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; |
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 | 1013 |
1007 // Disables support for Core Animation plugins. This is triggered when | 1014 // Disables support for Core Animation plugins. This is triggered when |
1008 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1015 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1009 const char kDisableCoreAnimationPlugins[] = | 1016 const char kDisableCoreAnimationPlugins[] = |
1010 "disable-core-animation-plugins"; | 1017 "disable-core-animation-plugins"; |
1011 #endif | 1018 #endif |
1012 | 1019 |
1013 // Don't dump stuff here, follow the same order as the header. | 1020 // Don't dump stuff here, follow the same order as the header. |
1014 | 1021 |
1015 } // namespace switches | 1022 } // namespace switches |
OLD | NEW |