| 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 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 933 | 933 |
| 934 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) | 934 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) |
| 935 // Allows sending text-to-speech requests to speech-dispatcher, a common | 935 // Allows sending text-to-speech requests to speech-dispatcher, a common |
| 936 // Linux speech service. Because it's buggy, the user must explicitly | 936 // Linux speech service. Because it's buggy, the user must explicitly |
| 937 // enable it so that visiting a random webpage can't cause instability. | 937 // enable it so that visiting a random webpage can't cause instability. |
| 938 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; | 938 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; |
| 939 #endif | 939 #endif |
| 940 | 940 |
| 941 #if defined(OS_MACOSX) && !defined(OS_IOS) | 941 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 942 // Disables support for Core Animation plugins. This is triggered when | 942 // Disables support for Core Animation plugins. This is triggered when |
| 943 // accelerated compositing is disabled. See http://crbug.com/122430 . | 943 // accelerated compositing is disabled. See http://crbug.com/122430. |
| 944 const char kDisableCoreAnimationPlugins[] = | 944 const char kDisableCoreAnimationPlugins[] = |
| 945 "disable-core-animation-plugins"; | 945 "disable-core-animation-plugins"; |
| 946 |
| 947 // Allows input events to be handed on the compositor thread. |
| 948 // This feature is under development, see http://crbug.com/138003. |
| 949 extern const char kEnableThreadedEventHandlingMac[] = |
| 950 "enable-threaded-event-handling-mac"; |
| 946 #endif | 951 #endif |
| 947 | 952 |
| 948 #if defined(OS_WIN) | 953 #if defined(OS_WIN) |
| 949 // Device scale factor passed to certain processes like renderers, etc. | 954 // Device scale factor passed to certain processes like renderers, etc. |
| 950 const char kDeviceScaleFactor[] = "device-scale-factor"; | 955 const char kDeviceScaleFactor[] = "device-scale-factor"; |
| 951 | 956 |
| 952 // Disable the Legacy Window which corresponds to the size of the WebContents. | 957 // Disable the Legacy Window which corresponds to the size of the WebContents. |
| 953 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; | 958 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; |
| 954 | 959 |
| 955 // Enable the Win32K process mitigation policy for renderer processes which | 960 // Enable the Win32K process mitigation policy for renderer processes which |
| 956 // prevents them from invoking user32 and gdi32 system calls which enter | 961 // prevents them from invoking user32 and gdi32 system calls which enter |
| 957 // the kernel. This is only supported on Windows 8 and beyond. | 962 // the kernel. This is only supported on Windows 8 and beyond. |
| 958 const char kEnableWin32kRendererLockDown[] | 963 const char kEnableWin32kRendererLockDown[] |
| 959 = "enable_win32k_renderer_lockdown"; | 964 = "enable_win32k_renderer_lockdown"; |
| 960 #endif | 965 #endif |
| 961 | 966 |
| 962 #if defined(ENABLE_PLUGINS) | 967 #if defined(ENABLE_PLUGINS) |
| 963 // Enables the plugin power saver feature. | 968 // Enables the plugin power saver feature. |
| 964 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 969 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
| 965 #endif | 970 #endif |
| 966 | 971 |
| 967 // Don't dump stuff here, follow the same order as the header. | 972 // Don't dump stuff here, follow the same order as the header. |
| 968 | 973 |
| 969 } // namespace switches | 974 } // namespace switches |
| OLD | NEW |