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 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 #endif | 860 #endif |
861 | 861 |
862 // Sets the tile size used by composited layers. | 862 // Sets the tile size used by composited layers. |
863 const char kDefaultTileWidth[] = "default-tile-width"; | 863 const char kDefaultTileWidth[] = "default-tile-width"; |
864 const char kDefaultTileHeight[] = "default-tile-height"; | 864 const char kDefaultTileHeight[] = "default-tile-height"; |
865 | 865 |
866 // Sets the width and height above which a composited layer will get tiled. | 866 // Sets the width and height above which a composited layer will get tiled. |
867 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 867 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
868 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 868 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
869 | 869 |
870 // Use ExynosVideoDecodeAccelerator for video decode (instead of SECOMX) | |
871 const char kUseExynosVda[] = "use-exynos-vda"; | |
872 | |
873 const char kEnableFixedPositionCreatesStackingContext[] | 870 const char kEnableFixedPositionCreatesStackingContext[] |
874 = "enable-fixed-position-creates-stacking-context"; | 871 = "enable-fixed-position-creates-stacking-context"; |
875 const char kDisableFixedPositionCreatesStackingContext[] | 872 const char kDisableFixedPositionCreatesStackingContext[] |
876 = "disable-fixed-position-creates-stacking-context"; | 873 = "disable-fixed-position-creates-stacking-context"; |
877 | 874 |
878 // Defer image decoding in WebKit until painting. | 875 // Defer image decoding in WebKit until painting. |
879 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 876 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
880 | 877 |
881 // Use a begin frame signal from browser to renderer to schedule rendering. | 878 // Use a begin frame signal from browser to renderer to schedule rendering. |
882 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; | 879 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; |
(...skipping 19 matching lines...) Expand all Loading... |
902 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 899 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
903 | 900 |
904 // Enables/disables accelerated compositing for backgrounds of root layers with | 901 // Enables/disables accelerated compositing for backgrounds of root layers with |
905 // background-attachment: fixed. Requires kForceCompositingMode. | 902 // background-attachment: fixed. Requires kForceCompositingMode. |
906 const char kDisableAcceleratedFixedRootBackground[] = | 903 const char kDisableAcceleratedFixedRootBackground[] = |
907 "disable-accelerated-fixed-root-background"; | 904 "disable-accelerated-fixed-root-background"; |
908 const char kEnableAcceleratedFixedRootBackground[] = | 905 const char kEnableAcceleratedFixedRootBackground[] = |
909 "enable-accelerated-fixed-root-background"; | 906 "enable-accelerated-fixed-root-background"; |
910 | 907 |
911 } // namespace switches | 908 } // namespace switches |
OLD | NEW |