OLD | NEW |
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 Loading... |
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 |
164 const char kDisableGestureTapHighlight[] = "disable-gesture-tap-highlight"; | 167 const char kDisableGestureTapHighlight[] = "disable-gesture-tap-highlight"; |
165 | 168 |
166 // Disable GL multisampling. | 169 // Disable GL multisampling. |
167 const char kDisableGLMultisampling[] = "disable-gl-multisampling"; | 170 const char kDisableGLMultisampling[] = "disable-gl-multisampling"; |
168 | 171 |
169 // Disables GPU hardware acceleration. If software renderer is not in place, | 172 // Disables GPU hardware acceleration. If software renderer is not in place, |
170 // then the GPU process won't launch. | 173 // then the GPU process won't launch. |
171 const char kDisableGpu[] = "disable-gpu"; | 174 const char kDisableGpu[] = "disable-gpu"; |
172 | 175 |
173 // Prevent the compositor from using its GPU implementation. | 176 // Prevent the compositor from using its GPU implementation. |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
829 // Allows for forcing socket connections to http/https to use fixed ports. | 832 // Allows for forcing socket connections to http/https to use fixed ports. |
830 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 833 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
831 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 834 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
832 | 835 |
833 // Runs the security test for the renderer sandbox. | 836 // Runs the security test for the renderer sandbox. |
834 const char kTestSandbox[] = "test-sandbox"; | 837 const char kTestSandbox[] = "test-sandbox"; |
835 | 838 |
836 // Type of the current test harness ("browser" or "ui"). | 839 // Type of the current test harness ("browser" or "ui"). |
837 const char kTestType[] = "test-type"; | 840 const char kTestType[] = "test-type"; |
838 | 841 |
| 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 |
839 const char kTouchScrollingMode[] = "touch-scrolling-mode"; | 846 const char kTouchScrollingMode[] = "touch-scrolling-mode"; |
840 const char kTouchScrollingModeAsyncTouchmove[] = "async-touchmove"; | 847 const char kTouchScrollingModeAsyncTouchmove[] = "async-touchmove"; |
841 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove"; | 848 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove"; |
842 const char kTouchScrollingModeTouchcancel[] = "touchcancel"; | 849 const char kTouchScrollingModeTouchcancel[] = "touchcancel"; |
843 | 850 |
844 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, | 851 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, |
845 // can specify the specific trace categories to include (e.g. | 852 // can specify the specific trace categories to include (e.g. |
846 // --trace-shutdown=base,net) otherwise, all events are recorded. | 853 // --trace-shutdown=base,net) otherwise, all events are recorded. |
847 // --trace-shutdown-file can be used to control where the trace log gets stored | 854 // --trace-shutdown-file can be used to control where the trace log gets stored |
848 // to since there is otherwise no way to access the result. | 855 // to since there is otherwise no way to access the result. |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1006 | 1013 |
1007 // Disables support for Core Animation plugins. This is triggered when | 1014 // Disables support for Core Animation plugins. This is triggered when |
1008 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1015 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1009 const char kDisableCoreAnimationPlugins[] = | 1016 const char kDisableCoreAnimationPlugins[] = |
1010 "disable-core-animation-plugins"; | 1017 "disable-core-animation-plugins"; |
1011 #endif | 1018 #endif |
1012 | 1019 |
1013 // Don't dump stuff here, follow the same order as the header. | 1020 // Don't dump stuff here, follow the same order as the header. |
1014 | 1021 |
1015 } // namespace switches | 1022 } // namespace switches |
OLD | NEW |