| 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 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 814 | 814 |
| 815 // Scaling quality for capturing tab. Should be one of "fast", "good" or "best". | 815 // Scaling quality for capturing tab. Should be one of "fast", "good" or "best". |
| 816 // One flag for upscaling, one for downscaling. | 816 // One flag for upscaling, one for downscaling. |
| 817 // Upscale defaults to "best". | 817 // Upscale defaults to "best". |
| 818 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; | 818 const char kTabCaptureUpscaleQuality[] = "tab-capture-upscale-quality"; |
| 819 | 819 |
| 820 // Allows for forcing socket connections to http/https to use fixed ports. | 820 // Allows for forcing socket connections to http/https to use fixed ports. |
| 821 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 821 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 822 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 822 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 823 | 823 |
| 824 // Runs the security test for the renderer sandbox. | |
| 825 const char kTestSandbox[] = "test-sandbox"; | |
| 826 | |
| 827 // Type of the current test harness ("browser" or "ui"). | 824 // Type of the current test harness ("browser" or "ui"). |
| 828 const char kTestType[] = "test-type"; | 825 const char kTestType[] = "test-type"; |
| 829 | 826 |
| 830 const char kTouchScrollingMode[] = "touch-scrolling-mode"; | 827 const char kTouchScrollingMode[] = "touch-scrolling-mode"; |
| 831 const char kTouchScrollingModeAsyncTouchmove[] = "async-touchmove"; | 828 const char kTouchScrollingModeAsyncTouchmove[] = "async-touchmove"; |
| 832 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove"; | 829 const char kTouchScrollingModeSyncTouchmove[] = "sync-touchmove"; |
| 833 const char kTouchScrollingModeTouchcancel[] = "touchcancel"; | 830 const char kTouchScrollingModeTouchcancel[] = "touchcancel"; |
| 834 | 831 |
| 835 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, | 832 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, |
| 836 // can specify the specific trace categories to include (e.g. | 833 // can specify the specific trace categories to include (e.g. |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 988 | 985 |
| 989 // Disables support for Core Animation plugins. This is triggered when | 986 // Disables support for Core Animation plugins. This is triggered when |
| 990 // accelerated compositing is disabled. See http://crbug.com/122430 . | 987 // accelerated compositing is disabled. See http://crbug.com/122430 . |
| 991 const char kDisableCoreAnimationPlugins[] = | 988 const char kDisableCoreAnimationPlugins[] = |
| 992 "disable-core-animation-plugins"; | 989 "disable-core-animation-plugins"; |
| 993 #endif | 990 #endif |
| 994 | 991 |
| 995 // Don't dump stuff here, follow the same order as the header. | 992 // Don't dump stuff here, follow the same order as the header. |
| 996 | 993 |
| 997 } // namespace switches | 994 } // namespace switches |
| OLD | NEW |