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 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 #endif | 730 #endif |
731 | 731 |
732 #if defined(OS_MACOSX) && !defined(OS_IOS) | 732 #if defined(OS_MACOSX) && !defined(OS_IOS) |
733 const char kDisableCarbonInterposing[] = "disable-carbon-interposing"; | 733 const char kDisableCarbonInterposing[] = "disable-carbon-interposing"; |
734 #endif | 734 #endif |
735 | 735 |
736 // Disables the use of a 3D software rasterizer. | 736 // Disables the use of a 3D software rasterizer. |
737 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 737 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
738 | 738 |
739 #if defined(USE_AURA) | 739 #if defined(USE_AURA) |
740 // Configures the time after a GestureFlingCancel in which taps are cancelled. | |
741 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; | |
742 | |
743 // Maximum time between mousedown and mouseup to be considered a tap. | |
744 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; | |
745 | |
746 // Forces usage of the test compositor. Needed to run ui tests on bots. | 740 // Forces usage of the test compositor. Needed to run ui tests on bots. |
747 extern const char kTestCompositor[] = "test-compositor"; | 741 extern const char kTestCompositor[] = "test-compositor"; |
748 #endif | 742 #endif |
749 | 743 |
750 // Sets the tile size used by composited layers. | 744 // Sets the tile size used by composited layers. |
751 const char kDefaultTileWidth[] = "default-tile-width"; | 745 const char kDefaultTileWidth[] = "default-tile-width"; |
752 const char kDefaultTileHeight[] = "default-tile-height"; | 746 const char kDefaultTileHeight[] = "default-tile-height"; |
753 | 747 |
754 // Sets the width and height above which a composited layer will get tiled. | 748 // Sets the width and height above which a composited layer will get tiled. |
755 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 749 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
756 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 750 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
757 | 751 |
758 const char kEnableFixedPositionCreatesStackingContext[] | 752 const char kEnableFixedPositionCreatesStackingContext[] |
759 = "enable-fixed-position-creates-stacking-context"; | 753 = "enable-fixed-position-creates-stacking-context"; |
760 const char kDisableFixedPositionCreatesStackingContext[] | 754 const char kDisableFixedPositionCreatesStackingContext[] |
761 = "disable-fixed-position-creates-stacking-context"; | 755 = "disable-fixed-position-creates-stacking-context"; |
762 | 756 |
763 // Defer image decoding in WebKit until painting. | 757 // Defer image decoding in WebKit until painting. |
764 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 758 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
765 | 759 |
766 // Enables history navigation in response to horizontal overscroll. | 760 // Enables history navigation in response to horizontal overscroll. |
767 const char kEnableOverscrollHistoryNavigation[] = | 761 const char kEnableOverscrollHistoryNavigation[] = |
768 "enable-overscroll-history-navigation"; | 762 "enable-overscroll-history-navigation"; |
769 | 763 |
770 } // namespace switches | 764 } // namespace switches |
OLD | NEW |