| 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 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
| 10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
| (...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 922 #endif | 922 #endif |
| 923 | 923 |
| 924 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) | 924 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 925 // Allows sending text-to-speech requests to speech-dispatcher, a common | 925 // Allows sending text-to-speech requests to speech-dispatcher, a common |
| 926 // Linux speech service. Because it's buggy, the user must explicitly | 926 // Linux speech service. Because it's buggy, the user must explicitly |
| 927 // enable it so that visiting a random webpage can't cause instability. | 927 // enable it so that visiting a random webpage can't cause instability. |
| 928 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; | 928 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; |
| 929 #endif | 929 #endif |
| 930 | 930 |
| 931 #if defined(OS_MACOSX) && !defined(OS_IOS) | 931 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 932 // Disables the bootstrap sandbox entirely. | |
| 933 const char kDisableBootstrapSandbox[] = "disable-bootstrap-sandbox"; | |
| 934 | |
| 935 // Disables support for Core Animation plugins. This is triggered when | 932 // Disables support for Core Animation plugins. This is triggered when |
| 936 // accelerated compositing is disabled. See http://crbug.com/122430. | 933 // accelerated compositing is disabled. See http://crbug.com/122430. |
| 937 const char kDisableCoreAnimationPlugins[] = | 934 const char kDisableCoreAnimationPlugins[] = |
| 938 "disable-core-animation-plugins"; | 935 "disable-core-animation-plugins"; |
| 939 #endif | 936 #endif |
| 940 | 937 |
| 941 #if defined(OS_WIN) | 938 #if defined(OS_WIN) |
| 942 // Device scale factor passed to certain processes like renderers, etc. | 939 // Device scale factor passed to certain processes like renderers, etc. |
| 943 const char kDeviceScaleFactor[] = "device-scale-factor"; | 940 const char kDeviceScaleFactor[] = "device-scale-factor"; |
| 944 | 941 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 969 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 966 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 970 | 967 |
| 971 // Enables the exporting of the tracing events to ETW. This is only supported on | 968 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 972 // Windows Vista and later. | 969 // Windows Vista and later. |
| 973 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 970 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 974 #endif | 971 #endif |
| 975 | 972 |
| 976 // Don't dump stuff here, follow the same order as the header. | 973 // Don't dump stuff here, follow the same order as the header. |
| 977 | 974 |
| 978 } // namespace switches | 975 } // namespace switches |
| OLD | NEW |