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 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
876 | 876 |
877 // Disable overscroll edge effects like those found in Android views. | 877 // Disable overscroll edge effects like those found in Android views. |
878 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; | 878 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; |
879 | 879 |
880 // Disable the pull-to-refresh effect when vertically overscrolling content. | 880 // Disable the pull-to-refresh effect when vertically overscrolling content. |
881 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect"; | 881 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect"; |
882 | 882 |
883 // Disable the locking feature of the screen orientation API. | 883 // Disable the locking feature of the screen orientation API. |
884 const char kDisableScreenOrientationLock[] = "disable-screen-orientation-lock"; | 884 const char kDisableScreenOrientationLock[] = "disable-screen-orientation-lock"; |
885 | 885 |
886 // Enable inverting of selection handles so that they are not clipped by the | |
887 // viewport boundaries. | |
888 const char kEnableAdaptiveHandleOrientation[] = | |
jdduke (slow)
2015/09/28 15:55:13
Can we rename this to |kEnableAdaptiveSelectionHan
AviD
2015/09/29 07:44:25
Done.
| |
889 "enable-adaptive-handle-orientation"; | |
890 | |
886 // Enable external animation system for Android compositor. | 891 // Enable external animation system for Android compositor. |
887 // See also kEnableCompositorAnimationTimelines for renderer compositors. | 892 // See also kEnableCompositorAnimationTimelines for renderer compositors. |
888 const char kEnableAndroidCompositorAnimationTimelines[] = | 893 const char kEnableAndroidCompositorAnimationTimelines[] = |
889 "enable-android-compositor-animation-timelines"; | 894 "enable-android-compositor-animation-timelines"; |
890 | 895 |
891 // Enable drag manipulation of longpress-triggered text selections. | 896 // Enable drag manipulation of longpress-triggered text selections. |
892 const char kEnableLongpressDragSelection[] = "enable-longpress-drag-selection"; | 897 const char kEnableLongpressDragSelection[] = "enable-longpress-drag-selection"; |
893 | 898 |
894 // The telephony region (ISO country code) to use in phone number detection. | 899 // The telephony region (ISO country code) to use in phone number detection. |
895 const char kNetworkCountryIso[] = "network-country-iso"; | 900 const char kNetworkCountryIso[] = "network-country-iso"; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
963 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 968 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
964 | 969 |
965 // Enables the exporting of the tracing events to ETW. This is only supported on | 970 // Enables the exporting of the tracing events to ETW. This is only supported on |
966 // Windows Vista and later. | 971 // Windows Vista and later. |
967 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 972 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
968 #endif | 973 #endif |
969 | 974 |
970 // Don't dump stuff here, follow the same order as the header. | 975 // Don't dump stuff here, follow the same order as the header. |
971 | 976 |
972 } // namespace switches | 977 } // namespace switches |
OLD | NEW |