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

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: review comments 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 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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