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 915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 | 926 |
927 // Disable the pull-to-refresh effect when vertically overscrolling content. | 927 // Disable the pull-to-refresh effect when vertically overscrolling content. |
928 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect"; | 928 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect"; |
929 | 929 |
930 // Disable the locking feature of the screen orientation API. | 930 // Disable the locking feature of the screen orientation API. |
931 const char kDisableScreenOrientationLock[] = "disable-screen-orientation-lock"; | 931 const char kDisableScreenOrientationLock[] = "disable-screen-orientation-lock"; |
932 | 932 |
933 // WebRTC is enabled by default on Android. | 933 // WebRTC is enabled by default on Android. |
934 const char kDisableWebRTC[] = "disable-webrtc"; | 934 const char kDisableWebRTC[] = "disable-webrtc"; |
935 | 935 |
| 936 // Enable inverting of selection handles so that they are not clipped by the |
| 937 // viewport boundaries. |
| 938 const char kEnableAdaptiveHandleOrientation[] = |
| 939 "enable-adaptive-handle-orientation"; |
| 940 |
936 // Enable external animation system for Android compositor. | 941 // Enable external animation system for Android compositor. |
937 // See also kEnableCompositorAnimationTimelines for renderer compositors. | 942 // See also kEnableCompositorAnimationTimelines for renderer compositors. |
938 const char kEnableAndroidCompositorAnimationTimelines[] = | 943 const char kEnableAndroidCompositorAnimationTimelines[] = |
939 "enable-android-compositor-animation-timelines"; | 944 "enable-android-compositor-animation-timelines"; |
940 | 945 |
941 // Enable drag manipulation of longpress-triggered text selections. | 946 // Enable drag manipulation of longpress-triggered text selections. |
942 const char kEnableLongpressDragSelection[] = "enable-longpress-drag-selection"; | 947 const char kEnableLongpressDragSelection[] = "enable-longpress-drag-selection"; |
943 | 948 |
944 // The telephony region (ISO country code) to use in phone number detection. | 949 // The telephony region (ISO country code) to use in phone number detection. |
945 const char kNetworkCountryIso[] = "network-country-iso"; | 950 const char kNetworkCountryIso[] = "network-country-iso"; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1007 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1012 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
1008 | 1013 |
1009 // Enables the exporting of the tracing events to ETW. This is only supported on | 1014 // Enables the exporting of the tracing events to ETW. This is only supported on |
1010 // Windows Vista and later. | 1015 // Windows Vista and later. |
1011 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1016 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
1012 #endif | 1017 #endif |
1013 | 1018 |
1014 // Don't dump stuff here, follow the same order as the header. | 1019 // Don't dump stuff here, follow the same order as the header. |
1015 | 1020 |
1016 } // namespace switches | 1021 } // namespace switches |
OLD | NEW |