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 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 const char kTestSandbox[] = "test-sandbox"; | 844 const char kTestSandbox[] = "test-sandbox"; |
845 | 845 |
846 // Type of the current test harness ("browser" or "ui"). | 846 // Type of the current test harness ("browser" or "ui"). |
847 const char kTestType[] = "test-type"; | 847 const char kTestType[] = "test-type"; |
848 | 848 |
849 // Enable timeout-based touch event cancellation if a touch ack is delayed. | 849 // Enable timeout-based touch event cancellation if a touch ack is delayed. |
850 // If unspecified, touch timeout behavior will be disabled. | 850 // If unspecified, touch timeout behavior will be disabled. |
851 const char kTouchAckTimeoutDelayMs[] = "touch-ack-timeout-delay-ms"; | 851 const char kTouchAckTimeoutDelayMs[] = "touch-ack-timeout-delay-ms"; |
852 | 852 |
853 const char kTouchScrollingMode[] = "touch-scrolling-mode"; | 853 const char kTouchScrollingMode[] = "touch-scrolling-mode"; |
| 854 const char kTouchScrollingModeAsyncTouchmove[] = "async-touchmove"; |
| 855 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove"; |
854 const char kTouchScrollingModeTouchcancel[] = "touchcancel"; | 856 const char kTouchScrollingModeTouchcancel[] = "touchcancel"; |
855 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove"; | |
856 const char kTouchScrollingModeAbsorbTouchmove[] = "absorb-touchmove"; | |
857 | 857 |
858 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, | 858 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, |
859 // can specify the specific trace categories to include (e.g. | 859 // can specify the specific trace categories to include (e.g. |
860 // --trace-shutdown=base,net) otherwise, all events are recorded. | 860 // --trace-shutdown=base,net) otherwise, all events are recorded. |
861 // --trace-shutdown-file can be used to control where the trace log gets stored | 861 // --trace-shutdown-file can be used to control where the trace log gets stored |
862 // to since there is otherwise no way to access the result. | 862 // to since there is otherwise no way to access the result. |
863 const char kTraceShutdown[] = "trace-shutdown"; | 863 const char kTraceShutdown[] = "trace-shutdown"; |
864 | 864 |
865 // If supplied, sets the file which shutdown tracing will be stored into, if | 865 // If supplied, sets the file which shutdown tracing will be stored into, if |
866 // omitted the default will be used "chrometrace.log" in the current directory. | 866 // omitted the default will be used "chrometrace.log" in the current directory. |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1020 | 1020 |
1021 // Disables support for Core Animation plugins. This is triggered when | 1021 // Disables support for Core Animation plugins. This is triggered when |
1022 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1022 // accelerated compositing is disabled. See http://crbug.com/122430 . |
1023 const char kDisableCoreAnimationPlugins[] = | 1023 const char kDisableCoreAnimationPlugins[] = |
1024 "disable-core-animation-plugins"; | 1024 "disable-core-animation-plugins"; |
1025 #endif | 1025 #endif |
1026 | 1026 |
1027 // Don't dump stuff here, follow the same order as the header. | 1027 // Don't dump stuff here, follow the same order as the header. |
1028 | 1028 |
1029 } // namespace switches | 1029 } // namespace switches |
OLD | NEW |