| 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 // Enable/Disable the creation of compositing layers for RenderLayers with a | 377 // Enable/Disable the creation of compositing layers for RenderLayers with a |
| 378 // transition on a property that supports accelerated animation (that is, | 378 // transition on a property that supports accelerated animation (that is, |
| 379 // opacity, -webkit-transform, and -webkit-filter), even when no animation is | 379 // opacity, -webkit-transform, and -webkit-filter), even when no animation is |
| 380 // running. These options allow for three possible scenarios: | 380 // running. These options allow for three possible scenarios: |
| 381 // 1. Default (enabled only if we dectect a highDPI display) | 381 // 1. Default (enabled only if we dectect a highDPI display) |
| 382 // 2. Enabled always. | 382 // 2. Enabled always. |
| 383 // 3. Disabled always. | 383 // 3. Disabled always. |
| 384 const char kEnableCompositingForTransition[] = | 384 const char kEnableCompositingForTransition[] = |
| 385 "enable-transition-compositing"; | 385 "enable-transition-compositing"; |
| 386 | 386 |
| 387 // Enables CSS3 custom filters | |
| 388 const char kEnableCssShaders[] = "enable-css-shaders"; | |
| 389 | |
| 390 // Defer image decoding in WebKit until painting. | 387 // Defer image decoding in WebKit until painting. |
| 391 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 388 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 392 | 389 |
| 393 // Enables the deadline scheduler. | 390 // Enables the deadline scheduler. |
| 394 const char kEnableDeadlineScheduling[] = "enable-deadline-scheduling"; | 391 const char kEnableDeadlineScheduling[] = "enable-deadline-scheduling"; |
| 395 | 392 |
| 396 // Enables delegated renderer. | 393 // Enables delegated renderer. |
| 397 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; | 394 const char kEnableDelegatedRenderer[] = "enable-delegated-renderer"; |
| 398 | 395 |
| 399 // Enables restarting interrupted downloads. | 396 // Enables restarting interrupted downloads. |
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 991 #endif | 988 #endif |
| 992 | 989 |
| 993 #if defined(USE_AURA) | 990 #if defined(USE_AURA) |
| 994 // Forces usage of the test compositor. Needed to run ui tests on bots. | 991 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 995 extern const char kTestCompositor[] = "test-compositor"; | 992 extern const char kTestCompositor[] = "test-compositor"; |
| 996 #endif | 993 #endif |
| 997 | 994 |
| 998 // Don't dump stuff here, follow the same order as the header. | 995 // Don't dump stuff here, follow the same order as the header. |
| 999 | 996 |
| 1000 } // namespace switches | 997 } // namespace switches |
| OLD | NEW |