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 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
931 "disable-vaapi-accelerated-video-encode"; | 931 "disable-vaapi-accelerated-video-encode"; |
932 #endif | 932 #endif |
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) | |
942 // Allows input events to be handed on the compositor thread. | |
943 // This feature is under development, see http://crbug.com/138003. | |
944 extern const char kEnableThreadedEventHandlingMac[] = | |
945 "enable-threaded-event-handling-mac"; | |
946 #endif | |
947 | |
Avi (use Gerrit)
2014/10/21 00:03:53
Ditto.
ccameron
2014/10/21 00:14:46
Done.
| |
941 #if defined(OS_MACOSX) && !defined(OS_IOS) | 948 #if defined(OS_MACOSX) && !defined(OS_IOS) |
942 // Disables support for Core Animation plugins. This is triggered when | 949 // Disables support for Core Animation plugins. This is triggered when |
943 // accelerated compositing is disabled. See http://crbug.com/122430 . | 950 // accelerated compositing is disabled. See http://crbug.com/122430. |
944 const char kDisableCoreAnimationPlugins[] = | 951 const char kDisableCoreAnimationPlugins[] = |
945 "disable-core-animation-plugins"; | 952 "disable-core-animation-plugins"; |
946 #endif | 953 #endif |
947 | 954 |
948 #if defined(OS_WIN) | 955 #if defined(OS_WIN) |
949 // Device scale factor passed to certain processes like renderers, etc. | 956 // Device scale factor passed to certain processes like renderers, etc. |
950 const char kDeviceScaleFactor[] = "device-scale-factor"; | 957 const char kDeviceScaleFactor[] = "device-scale-factor"; |
951 | 958 |
952 // Disable the Legacy Window which corresponds to the size of the WebContents. | 959 // Disable the Legacy Window which corresponds to the size of the WebContents. |
953 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; | 960 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; |
954 | 961 |
955 // Enable the Win32K process mitigation policy for renderer processes which | 962 // Enable the Win32K process mitigation policy for renderer processes which |
956 // prevents them from invoking user32 and gdi32 system calls which enter | 963 // prevents them from invoking user32 and gdi32 system calls which enter |
957 // the kernel. This is only supported on Windows 8 and beyond. | 964 // the kernel. This is only supported on Windows 8 and beyond. |
958 const char kEnableWin32kRendererLockDown[] | 965 const char kEnableWin32kRendererLockDown[] |
959 = "enable_win32k_renderer_lockdown"; | 966 = "enable_win32k_renderer_lockdown"; |
960 #endif | 967 #endif |
961 | 968 |
962 #if defined(ENABLE_PLUGINS) | 969 #if defined(ENABLE_PLUGINS) |
963 // Enables the plugin power saver feature. | 970 // Enables the plugin power saver feature. |
964 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 971 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
965 #endif | 972 #endif |
966 | 973 |
967 // Don't dump stuff here, follow the same order as the header. | 974 // Don't dump stuff here, follow the same order as the header. |
968 | 975 |
969 } // namespace switches | 976 } // namespace switches |
OLD | NEW |