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 934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 // Linux speech service. Because it's buggy, the user must explicitly | 945 // Linux speech service. Because it's buggy, the user must explicitly |
946 // enable it so that visiting a random webpage can't cause instability. | 946 // enable it so that visiting a random webpage can't cause instability. |
947 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; | 947 const char kEnableSpeechDispatcher[] = "enable-speech-dispatcher"; |
948 #endif | 948 #endif |
949 | 949 |
950 #if defined(OS_MACOSX) && !defined(OS_IOS) | 950 #if defined(OS_MACOSX) && !defined(OS_IOS) |
951 // Disables support for Core Animation plugins. This is triggered when | 951 // Disables support for Core Animation plugins. This is triggered when |
952 // accelerated compositing is disabled. See http://crbug.com/122430. | 952 // accelerated compositing is disabled. See http://crbug.com/122430. |
953 const char kDisableCoreAnimationPlugins[] = | 953 const char kDisableCoreAnimationPlugins[] = |
954 "disable-core-animation-plugins"; | 954 "disable-core-animation-plugins"; |
955 | |
956 // Force all input events to be handled by Blink on thread. This will be removed | |
957 // once compositor thread events have stuck. | |
958 // http://crbug.com/138003 | |
959 extern const char kDisableThreadedEventHandlingMac[] = | |
960 "disable-threaded-event-handling-mac"; | |
961 #endif | 955 #endif |
962 | 956 |
963 #if defined(OS_WIN) | 957 #if defined(OS_WIN) |
964 // Device scale factor passed to certain processes like renderers, etc. | 958 // Device scale factor passed to certain processes like renderers, etc. |
965 const char kDeviceScaleFactor[] = "device-scale-factor"; | 959 const char kDeviceScaleFactor[] = "device-scale-factor"; |
966 | 960 |
967 // Disable the Legacy Window which corresponds to the size of the WebContents. | 961 // Disable the Legacy Window which corresponds to the size of the WebContents. |
968 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; | 962 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; |
969 | 963 |
970 // Enables or disables the Win32K process mitigation policy for renderer | 964 // Enables or disables the Win32K process mitigation policy for renderer |
(...skipping 14 matching lines...) Expand all Loading... |
985 const char kEnableNpapi[] = "enable-npapi"; | 979 const char kEnableNpapi[] = "enable-npapi"; |
986 | 980 |
987 #if defined(ENABLE_PLUGINS) | 981 #if defined(ENABLE_PLUGINS) |
988 // Enables the plugin power saver feature. | 982 // Enables the plugin power saver feature. |
989 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 983 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
990 #endif | 984 #endif |
991 | 985 |
992 // Don't dump stuff here, follow the same order as the header. | 986 // Don't dump stuff here, follow the same order as the header. |
993 | 987 |
994 } // namespace switches | 988 } // namespace switches |
OLD | NEW |