Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: content/public/common/content_switches.cc

Issue 481683003: Support for Adaptive Handle Orientation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/common/content_switches.h ('k') | ui/touch_selection/touch_handle.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | ui/touch_selection/touch_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698