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 869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
880 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 880 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
881 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 881 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
882 | 882 |
883 // Runs the security test for the renderer sandbox. | 883 // Runs the security test for the renderer sandbox. |
884 const char kTestSandbox[] = "test-sandbox"; | 884 const char kTestSandbox[] = "test-sandbox"; |
885 | 885 |
886 // Enable timeout-based touch event cancellation if a touch ack is delayed. | 886 // Enable timeout-based touch event cancellation if a touch ack is delayed. |
887 // If unspecified, touch timeout behavior will be disabled. | 887 // If unspecified, touch timeout behavior will be disabled. |
888 const char kTouchAckTimeoutDelayMs[] = "touch-ack-timeout-delay-ms"; | 888 const char kTouchAckTimeoutDelayMs[] = "touch-ack-timeout-delay-ms"; |
889 | 889 |
| 890 const char kTouchScrollingMode[] = "touch-scrolling-mode"; |
| 891 const char kTouchScrollingModeTouchcancel[] = "touchcancel"; |
| 892 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove"; |
| 893 const char kTouchScrollingModeAbsorbTouchmove[] = "absorb-touchmove"; |
| 894 |
890 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, | 895 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, |
891 // can specify the specific trace categories to include (e.g. | 896 // can specify the specific trace categories to include (e.g. |
892 // --trace-shutdown=base,net) otherwise, all events are recorded. | 897 // --trace-shutdown=base,net) otherwise, all events are recorded. |
893 // --trace-shutdown-file can be used to control where the trace log gets stored | 898 // --trace-shutdown-file can be used to control where the trace log gets stored |
894 // to since there is otherwise no way to access the result. | 899 // to since there is otherwise no way to access the result. |
895 const char kTraceShutdown[] = "trace-shutdown"; | 900 const char kTraceShutdown[] = "trace-shutdown"; |
896 | 901 |
897 // If supplied, sets the file which shutdown tracing will be stored into, if | 902 // If supplied, sets the file which shutdown tracing will be stored into, if |
898 // omitted the default will be used "chrometrace.log" in the current directory. | 903 // omitted the default will be used "chrometrace.log" in the current directory. |
899 // Has no effect unless --trace-shutdown is also supplied. | 904 // Has no effect unless --trace-shutdown is also supplied. |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1067 #endif | 1072 #endif |
1068 | 1073 |
1069 #if defined(OS_POSIX) | 1074 #if defined(OS_POSIX) |
1070 // Causes the child processes to cleanly exit via calling exit(). | 1075 // Causes the child processes to cleanly exit via calling exit(). |
1071 const char kChildCleanExit[] = "child-clean-exit"; | 1076 const char kChildCleanExit[] = "child-clean-exit"; |
1072 #endif | 1077 #endif |
1073 | 1078 |
1074 // Don't dump stuff here, follow the same order as the header. | 1079 // Don't dump stuff here, follow the same order as the header. |
1075 | 1080 |
1076 } // namespace switches | 1081 } // namespace switches |
OLD | NEW |