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