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

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

Issue 235003005: Consolidate all touch/gesture related constants in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup Created 6 years, 7 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 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 const char kDisableFixedPositionCreatesStackingContext[] 155 const char kDisableFixedPositionCreatesStackingContext[]
156 = "disable-fixed-position-creates-stacking-context"; 156 = "disable-fixed-position-creates-stacking-context";
157 157
158 // Disable 3D inside of flapper. 158 // Disable 3D inside of flapper.
159 const char kDisableFlash3d[] = "disable-flash-3d"; 159 const char kDisableFlash3d[] = "disable-flash-3d";
160 160
161 // Disable Stage3D inside of flapper. 161 // Disable Stage3D inside of flapper.
162 const char kDisableFlashStage3d[] = "disable-flash-stage3d"; 162 const char kDisableFlashStage3d[] = "disable-flash-stage3d";
163 163
164 // Disable deferral of scroll-ending gesture events when a scroll is active.
165 const char kDisableGestureDebounce[] = "disable-gesture-debounce";
166
167 const char kDisableGestureTapHighlight[] = "disable-gesture-tap-highlight"; 164 const char kDisableGestureTapHighlight[] = "disable-gesture-tap-highlight";
168 165
169 // Disable GL multisampling. 166 // Disable GL multisampling.
170 const char kDisableGLMultisampling[] = "disable-gl-multisampling"; 167 const char kDisableGLMultisampling[] = "disable-gl-multisampling";
171 168
172 // Disables GPU hardware acceleration. If software renderer is not in place, 169 // Disables GPU hardware acceleration. If software renderer is not in place,
173 // then the GPU process won't launch. 170 // then the GPU process won't launch.
174 const char kDisableGpu[] = "disable-gpu"; 171 const char kDisableGpu[] = "disable-gpu";
175 172
176 // Prevent the compositor from using its GPU implementation. 173 // Prevent the compositor from using its GPU implementation.
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 // Allows for forcing socket connections to http/https to use fixed ports. 826 // Allows for forcing socket connections to http/https to use fixed ports.
830 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; 827 const char kTestingFixedHttpPort[] = "testing-fixed-http-port";
831 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; 828 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port";
832 829
833 // Runs the security test for the renderer sandbox. 830 // Runs the security test for the renderer sandbox.
834 const char kTestSandbox[] = "test-sandbox"; 831 const char kTestSandbox[] = "test-sandbox";
835 832
836 // Type of the current test harness ("browser" or "ui"). 833 // Type of the current test harness ("browser" or "ui").
837 const char kTestType[] = "test-type"; 834 const char kTestType[] = "test-type";
838 835
839 // Enable timeout-based touch event cancellation if a touch ack is delayed.
840 // If unspecified, touch timeout behavior will be disabled.
841 const char kTouchAckTimeoutDelayMs[] = "touch-ack-timeout-delay-ms";
842
843 const char kTouchScrollingMode[] = "touch-scrolling-mode"; 836 const char kTouchScrollingMode[] = "touch-scrolling-mode";
844 const char kTouchScrollingModeAsyncTouchmove[] = "async-touchmove"; 837 const char kTouchScrollingModeAsyncTouchmove[] = "async-touchmove";
845 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove"; 838 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove";
846 const char kTouchScrollingModeTouchcancel[] = "touchcancel"; 839 const char kTouchScrollingModeTouchcancel[] = "touchcancel";
847 840
848 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, 841 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally,
849 // can specify the specific trace categories to include (e.g. 842 // can specify the specific trace categories to include (e.g.
850 // --trace-shutdown=base,net) otherwise, all events are recorded. 843 // --trace-shutdown=base,net) otherwise, all events are recorded.
851 // --trace-shutdown-file can be used to control where the trace log gets stored 844 // --trace-shutdown-file can be used to control where the trace log gets stored
852 // to since there is otherwise no way to access the result. 845 // to since there is otherwise no way to access the result.
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1010 1003
1011 // Disables support for Core Animation plugins. This is triggered when 1004 // Disables support for Core Animation plugins. This is triggered when
1012 // accelerated compositing is disabled. See http://crbug.com/122430 . 1005 // accelerated compositing is disabled. See http://crbug.com/122430 .
1013 const char kDisableCoreAnimationPlugins[] = 1006 const char kDisableCoreAnimationPlugins[] =
1014 "disable-core-animation-plugins"; 1007 "disable-core-animation-plugins";
1015 #endif 1008 #endif
1016 1009
1017 // Don't dump stuff here, follow the same order as the header. 1010 // Don't dump stuff here, follow the same order as the header.
1018 1011
1019 } // namespace switches 1012 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698