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

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: Update handles for explicit handle visibility calls 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
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 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 890
891 // Disable overscroll edge effects like those found in Android views. 891 // Disable overscroll edge effects like those found in Android views.
892 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; 892 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect";
893 893
894 // Disable the pull-to-refresh effect when vertically overscrolling content. 894 // Disable the pull-to-refresh effect when vertically overscrolling content.
895 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect"; 895 const char kDisablePullToRefreshEffect[] = "disable-pull-to-refresh-effect";
896 896
897 // Disable the locking feature of the screen orientation API. 897 // Disable the locking feature of the screen orientation API.
898 const char kDisableScreenOrientationLock[] = "disable-screen-orientation-lock"; 898 const char kDisableScreenOrientationLock[] = "disable-screen-orientation-lock";
899 899
900 // Enable inverting of selection handles so that they are not clipped by the
901 // viewport boundaries.
902 const char kEnableAdaptiveHandleOrientation[] =
903 "enable-adaptive-handle-orientation";
904
900 // Enable external animation system for Android compositor. 905 // Enable external animation system for Android compositor.
901 // See also kEnableCompositorAnimationTimelines for renderer compositors. 906 // See also kEnableCompositorAnimationTimelines for renderer compositors.
902 const char kEnableAndroidCompositorAnimationTimelines[] = 907 const char kEnableAndroidCompositorAnimationTimelines[] =
903 "enable-android-compositor-animation-timelines"; 908 "enable-android-compositor-animation-timelines";
904 909
905 // Enable drag manipulation of longpress-triggered text selections. 910 // Enable drag manipulation of longpress-triggered text selections.
906 const char kEnableLongpressDragSelection[] = "enable-longpress-drag-selection"; 911 const char kEnableLongpressDragSelection[] = "enable-longpress-drag-selection";
907 912
908 // The telephony region (ISO country code) to use in phone number detection. 913 // The telephony region (ISO country code) to use in phone number detection.
909 const char kNetworkCountryIso[] = "network-country-iso"; 914 const char kNetworkCountryIso[] = "network-country-iso";
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 976 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
972 977
973 // Enables the exporting of the tracing events to ETW. This is only supported on 978 // Enables the exporting of the tracing events to ETW. This is only supported on
974 // Windows Vista and later. 979 // Windows Vista and later.
975 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 980 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
976 #endif 981 #endif
977 982
978 // Don't dump stuff here, follow the same order as the header. 983 // Don't dump stuff here, follow the same order as the header.
979 984
980 } // namespace switches 985 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698