| 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 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
| 10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
| (...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 746 // sending them to the renderer. | 746 // sending them to the renderer. |
| 747 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time"; | 747 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time"; |
| 748 | 748 |
| 749 // Runs the security test for the renderer sandbox. | 749 // Runs the security test for the renderer sandbox. |
| 750 const char kTestSandbox[] = "test-sandbox"; | 750 const char kTestSandbox[] = "test-sandbox"; |
| 751 | 751 |
| 752 // Allows for forcing socket connections to http/https to use fixed ports. | 752 // Allows for forcing socket connections to http/https to use fixed ports. |
| 753 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 753 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 754 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 754 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 755 | 755 |
| 756 // Enables not sending touch events to renderer while scrolling. |
| 757 const char kNoTouchToRendererWhileScrolling[] = |
| 758 "no-touch-to-renderer-while-scrolling"; |
| 759 |
| 756 // Causes TRACE_EVENT flags to be recorded from startup. Optionally, can | 760 // Causes TRACE_EVENT flags to be recorded from startup. Optionally, can |
| 757 // specify the specific trace categories to include (e.g. | 761 // specify the specific trace categories to include (e.g. |
| 758 // --trace-startup=base,net) otherwise, all events are recorded. Setting this | 762 // --trace-startup=base,net) otherwise, all events are recorded. Setting this |
| 759 // flag results in the first call to BeginTracing() to receive all trace events | 763 // flag results in the first call to BeginTracing() to receive all trace events |
| 760 // since startup. In Chrome, you may find --trace-startup-file and | 764 // since startup. In Chrome, you may find --trace-startup-file and |
| 761 // --trace-startup-duration to control the auto-saving of the trace (not | 765 // --trace-startup-duration to control the auto-saving of the trace (not |
| 762 // supported in the base-only TraceLog component). | 766 // supported in the base-only TraceLog component). |
| 763 const char kTraceStartup[] = "trace-startup"; | 767 const char kTraceStartup[] = "trace-startup"; |
| 764 | 768 |
| 765 // If supplied, sets the file which startup tracing will be stored into, if | 769 // If supplied, sets the file which startup tracing will be stored into, if |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 902 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 906 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
| 903 | 907 |
| 904 // Enables/disables accelerated compositing for backgrounds of root layers with | 908 // Enables/disables accelerated compositing for backgrounds of root layers with |
| 905 // background-attachment: fixed. Requires kForceCompositingMode. | 909 // background-attachment: fixed. Requires kForceCompositingMode. |
| 906 const char kDisableAcceleratedFixedRootBackground[] = | 910 const char kDisableAcceleratedFixedRootBackground[] = |
| 907 "disable-accelerated-fixed-root-background"; | 911 "disable-accelerated-fixed-root-background"; |
| 908 const char kEnableAcceleratedFixedRootBackground[] = | 912 const char kEnableAcceleratedFixedRootBackground[] = |
| 909 "enable-accelerated-fixed-root-background"; | 913 "enable-accelerated-fixed-root-background"; |
| 910 | 914 |
| 911 } // namespace switches | 915 } // namespace switches |
| OLD | NEW |