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 861 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
872 | 872 |
873 // Disable overscroll edge effects like those found in Android views. | 873 // Disable overscroll edge effects like those found in Android views. |
874 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; | 874 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; |
875 | 875 |
876 // Disable the pull-to-refresh effect when vertically overscrolling content. | 876 // Disable the pull-to-refresh effect when vertically overscrolling content. |
877 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect"; | 877 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect"; |
878 | 878 |
879 // Disable the locking feature of the screen orientation API. | 879 // Disable the locking feature of the screen orientation API. |
880 const char kDisableScreenOrientationLock[] = "disable-screen-orientation-lock"; | 880 const char kDisableScreenOrientationLock[] = "disable-screen-orientation-lock"; |
881 | 881 |
| 882 // Enable inverting of selection handles so that they are not clipped by the |
| 883 // viewport boundaries. |
| 884 const char kEnableAdaptiveSelectionHandleOrientation[] = |
| 885 "enable-adaptive-selection-handle-orientation"; |
| 886 |
882 // Enable external animation system for Android compositor. | 887 // Enable external animation system for Android compositor. |
883 // See also kEnableCompositorAnimationTimelines for renderer compositors. | 888 // See also kEnableCompositorAnimationTimelines for renderer compositors. |
884 const char kEnableAndroidCompositorAnimationTimelines[] = | 889 const char kEnableAndroidCompositorAnimationTimelines[] = |
885 "enable-android-compositor-animation-timelines"; | 890 "enable-android-compositor-animation-timelines"; |
886 | 891 |
887 // Enable drag manipulation of longpress-triggered text selections. | 892 // Enable drag manipulation of longpress-triggered text selections. |
888 const char kEnableLongpressDragSelection[] = "enable-longpress-drag-selection"; | 893 const char kEnableLongpressDragSelection[] = "enable-longpress-drag-selection"; |
889 | 894 |
890 // The telephony region (ISO country code) to use in phone number detection. | 895 // The telephony region (ISO country code) to use in phone number detection. |
891 const char kNetworkCountryIso[] = "network-country-iso"; | 896 const char kNetworkCountryIso[] = "network-country-iso"; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
959 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 964 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
960 | 965 |
961 // Enables the exporting of the tracing events to ETW. This is only supported on | 966 // Enables the exporting of the tracing events to ETW. This is only supported on |
962 // Windows Vista and later. | 967 // Windows Vista and later. |
963 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 968 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
964 #endif | 969 #endif |
965 | 970 |
966 // Don't dump stuff here, follow the same order as the header. | 971 // Don't dump stuff here, follow the same order as the header. |
967 | 972 |
968 } // namespace switches | 973 } // namespace switches |
OLD | NEW |