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

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: Compilation fixes 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | 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 #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 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 // Allows for forcing socket connections to http/https to use fixed ports. 829 // Allows for forcing socket connections to http/https to use fixed ports.
833 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; 830 const char kTestingFixedHttpPort[] = "testing-fixed-http-port";
834 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; 831 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port";
835 832
836 // Runs the security test for the renderer sandbox. 833 // Runs the security test for the renderer sandbox.
837 const char kTestSandbox[] = "test-sandbox"; 834 const char kTestSandbox[] = "test-sandbox";
838 835
839 // Type of the current test harness ("browser" or "ui"). 836 // Type of the current test harness ("browser" or "ui").
840 const char kTestType[] = "test-type"; 837 const char kTestType[] = "test-type";
841 838
842 // Enable timeout-based touch event cancellation if a touch ack is delayed.
843 // If unspecified, touch timeout behavior will be disabled.
844 const char kTouchAckTimeoutDelayMs[] = "touch-ack-timeout-delay-ms";
845
846 const char kTouchScrollingMode[] = "touch-scrolling-mode"; 839 const char kTouchScrollingMode[] = "touch-scrolling-mode";
847 const char kTouchScrollingModeAsyncTouchmove[] = "async-touchmove"; 840 const char kTouchScrollingModeAsyncTouchmove[] = "async-touchmove";
848 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove"; 841 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove";
849 const char kTouchScrollingModeTouchcancel[] = "touchcancel"; 842 const char kTouchScrollingModeTouchcancel[] = "touchcancel";
850 843
851 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, 844 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally,
852 // can specify the specific trace categories to include (e.g. 845 // can specify the specific trace categories to include (e.g.
853 // --trace-shutdown=base,net) otherwise, all events are recorded. 846 // --trace-shutdown=base,net) otherwise, all events are recorded.
854 // --trace-shutdown-file can be used to control where the trace log gets stored 847 // --trace-shutdown-file can be used to control where the trace log gets stored
855 // to since there is otherwise no way to access the result. 848 // to since there is otherwise no way to access the result.
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 1006
1014 // Disables support for Core Animation plugins. This is triggered when 1007 // Disables support for Core Animation plugins. This is triggered when
1015 // accelerated compositing is disabled. See http://crbug.com/122430 . 1008 // accelerated compositing is disabled. See http://crbug.com/122430 .
1016 const char kDisableCoreAnimationPlugins[] = 1009 const char kDisableCoreAnimationPlugins[] =
1017 "disable-core-animation-plugins"; 1010 "disable-core-animation-plugins";
1018 #endif 1011 #endif
1019 1012
1020 // Don't dump stuff here, follow the same order as the header. 1013 // Don't dump stuff here, follow the same order as the header.
1021 1014
1022 } // namespace switches 1015 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698