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