| 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 "build/build_config.h" | 5 #include "build/build_config.h" |
| 6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
| 7 | 7 |
| 8 namespace switches { | 8 namespace switches { |
| 9 | 9 |
| 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
| (...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 846 const char kUtilityProcessRunningElevated[] = "utility-run-elevated"; | 846 const char kUtilityProcessRunningElevated[] = "utility-run-elevated"; |
| 847 | 847 |
| 848 // In debug builds, asserts that the stream of input events is valid. | 848 // In debug builds, asserts that the stream of input events is valid. |
| 849 const char kValidateInputEventStream[] = "validate-input-event-stream"; | 849 const char kValidateInputEventStream[] = "validate-input-event-stream"; |
| 850 | 850 |
| 851 // Will add kWaitForDebugger to every child processes. If a value is passed, it | 851 // Will add kWaitForDebugger to every child processes. If a value is passed, it |
| 852 // will be used as a filter to determine if the child process should have the | 852 // will be used as a filter to determine if the child process should have the |
| 853 // kWaitForDebugger flag passed on or not. | 853 // kWaitForDebugger flag passed on or not. |
| 854 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; | 854 const char kWaitForDebuggerChildren[] = "wait-for-debugger-children"; |
| 855 | 855 |
| 856 // Forces processes to wait for Mojo shell connection initialization before | |
| 857 // proceeding with main thread startup. | |
| 858 // | |
| 859 // TODO(rockot): Remove this. http://crbug.com/594852. | |
| 860 const char kWaitForMojoShell[] = "wait-for-mojo-shell"; | |
| 861 | |
| 862 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 856 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
| 863 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 857 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
| 864 | 858 |
| 865 // Causes the process to run as a renderer zygote. | 859 // Causes the process to run as a renderer zygote. |
| 866 const char kZygoteProcess[] = "zygote"; | 860 const char kZygoteProcess[] = "zygote"; |
| 867 | 861 |
| 868 #if defined(ENABLE_WEBRTC) | 862 #if defined(ENABLE_WEBRTC) |
| 869 // Disables HW decode acceleration for WebRTC. | 863 // Disables HW decode acceleration for WebRTC. |
| 870 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; | 864 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; |
| 871 | 865 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1021 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1015 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1022 | 1016 |
| 1023 // Enables the exporting of the tracing events to ETW. This is only supported on | 1017 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1024 // Windows Vista and later. | 1018 // Windows Vista and later. |
| 1025 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1019 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1026 #endif | 1020 #endif |
| 1027 | 1021 |
| 1028 // Don't dump stuff here, follow the same order as the header. | 1022 // Don't dump stuff here, follow the same order as the header. |
| 1029 | 1023 |
| 1030 } // namespace switches | 1024 } // namespace switches |
| OLD | NEW |