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 #include "base/metrics/field_trial.h" | 8 #include "base/metrics/field_trial.h" |
9 | 9 |
10 namespace switches { | 10 namespace switches { |
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 741 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
742 | 742 |
743 // Type of the current test harness ("browser" or "ui"). | 743 // Type of the current test harness ("browser" or "ui"). |
744 const char kTestType[] = "test-type"; | 744 const char kTestType[] = "test-type"; |
745 | 745 |
746 const char kTouchScrollingMode[] = "touch-scrolling-mode"; | 746 const char kTouchScrollingMode[] = "touch-scrolling-mode"; |
747 const char kTouchScrollingModeAsyncTouchmove[] = "async-touchmove"; | 747 const char kTouchScrollingModeAsyncTouchmove[] = "async-touchmove"; |
748 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove"; | 748 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove"; |
749 const char kTouchScrollingModeTouchcancel[] = "touchcancel"; | 749 const char kTouchScrollingModeTouchcancel[] = "touchcancel"; |
750 | 750 |
| 751 const char kTouchTextSelectionStrategy[] = "touch-selection-strategy"; |
| 752 const char kTouchTextSelectionHalfDecay[] = "touch-selection-half-decay"; |
| 753 const char kTouchTextSelectionThreshold[] = "touch-selection-threshold"; |
| 754 |
| 755 |
751 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, | 756 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, |
752 // can specify the specific trace categories to include (e.g. | 757 // can specify the specific trace categories to include (e.g. |
753 // --trace-shutdown=base,net) otherwise, all events are recorded. | 758 // --trace-shutdown=base,net) otherwise, all events are recorded. |
754 // --trace-shutdown-file can be used to control where the trace log gets stored | 759 // --trace-shutdown-file can be used to control where the trace log gets stored |
755 // to since there is otherwise no way to access the result. | 760 // to since there is otherwise no way to access the result. |
756 const char kTraceShutdown[] = "trace-shutdown"; | 761 const char kTraceShutdown[] = "trace-shutdown"; |
757 | 762 |
758 // If supplied, sets the file which shutdown tracing will be stored into, if | 763 // If supplied, sets the file which shutdown tracing will be stored into, if |
759 // omitted the default will be used "chrometrace.log" in the current directory. | 764 // omitted the default will be used "chrometrace.log" in the current directory. |
760 // Has no effect unless --trace-shutdown is also supplied. | 765 // Has no effect unless --trace-shutdown is also supplied. |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
968 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) | 973 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) |
969 return false; | 974 return false; |
970 // Default. | 975 // Default. |
971 return group_name == "Enabled"; | 976 return group_name == "Enabled"; |
972 } | 977 } |
973 #endif | 978 #endif |
974 | 979 |
975 // Don't dump stuff here, follow the same order as the header. | 980 // Don't dump stuff here, follow the same order as the header. |
976 | 981 |
977 } // namespace switches | 982 } // namespace switches |
OLD | NEW |