Chromium Code Reviews| 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 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 775 // sending them to the renderer. | 775 // sending them to the renderer. |
| 776 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time"; | 776 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time"; |
| 777 | 777 |
| 778 // Allows for forcing socket connections to http/https to use fixed ports. | 778 // Allows for forcing socket connections to http/https to use fixed ports. |
| 779 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 779 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 780 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 780 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| 781 | 781 |
| 782 // Runs the security test for the renderer sandbox. | 782 // Runs the security test for the renderer sandbox. |
| 783 const char kTestSandbox[] = "test-sandbox"; | 783 const char kTestSandbox[] = "test-sandbox"; |
| 784 | 784 |
| 785 // Enables not sending touch events to renderer while scrolling. | |
| 786 const char kNoTouchToRendererWhileScrolling[] = | |
|
jam
2013/08/25 13:06:41
here too
| |
| 787 "no-touch-to-renderer-while-scrolling"; | |
| 788 | |
| 785 // Causes TRACE_EVENT flags to be recorded from startup. Optionally, can | 789 // Causes TRACE_EVENT flags to be recorded from startup. Optionally, can |
| 786 // specify the specific trace categories to include (e.g. | 790 // specify the specific trace categories to include (e.g. |
| 787 // --trace-startup=base,net) otherwise, all events are recorded. Setting this | 791 // --trace-startup=base,net) otherwise, all events are recorded. Setting this |
| 788 // flag results in the first call to BeginTracing() to receive all trace events | 792 // flag results in the first call to BeginTracing() to receive all trace events |
| 789 // since startup. In Chrome, you may find --trace-startup-file and | 793 // since startup. In Chrome, you may find --trace-startup-file and |
| 790 // --trace-startup-duration to control the auto-saving of the trace (not | 794 // --trace-startup-duration to control the auto-saving of the trace (not |
| 791 // supported in the base-only TraceLog component). | 795 // supported in the base-only TraceLog component). |
| 792 const char kTraceStartup[] = "trace-startup"; | 796 const char kTraceStartup[] = "trace-startup"; |
| 793 | 797 |
| 794 // Sets the time in seconds until startup tracing ends. If omitted a default of | 798 // Sets the time in seconds until startup tracing ends. If omitted a default of |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 935 // Forces usage of the test compositor. Needed to run ui tests on bots. | 939 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 936 extern const char kTestCompositor[] = "test-compositor"; | 940 extern const char kTestCompositor[] = "test-compositor"; |
| 937 #endif | 941 #endif |
| 938 | 942 |
| 939 // Don't dump stuff here, follow the same order as the header. | 943 // Don't dump stuff here, follow the same order as the header. |
| 940 | 944 |
| 941 // Allows filters (SkImageFilter objects) to be sent between processes over IPC | 945 // Allows filters (SkImageFilter objects) to be sent between processes over IPC |
| 942 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; | 946 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; |
| 943 | 947 |
| 944 } // namespace switches | 948 } // namespace switches |
| OLD | NEW |