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