diff options
Diffstat (limited to 'www/chromium/files/patch-ui_base_ui__base__features.cc')
-rw-r--r-- | www/chromium/files/patch-ui_base_ui__base__features.cc | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/www/chromium/files/patch-ui_base_ui__base__features.cc b/www/chromium/files/patch-ui_base_ui__base__features.cc index aa850d8e1146..d9fdcb06fe51 100644 --- a/www/chromium/files/patch-ui_base_ui__base__features.cc +++ b/www/chromium/files/patch-ui_base_ui__base__features.cc @@ -1,20 +1,29 @@ ---- ui/base/ui_base_features.cc.orig 2020-03-16 18:40:43 UTC +--- ui/base/ui_base_features.cc.orig 2020-05-13 18:40:37 UTC +++ ui/base/ui_base_features.cc -@@ -113,7 +113,7 @@ const base::Feature kEnableAutomaticUiAdjustmentsForTo - "EnableAutomaticUiAdjustmentsForTouch", base::FEATURE_ENABLED_BY_DEFAULT}; - #endif // defined(OS_WIN) || defined(OS_CHROMEOS) +@@ -121,7 +121,7 @@ const base::Feature kPrecisionTouchpadLogging{ + "PrecisionTouchpadLogging", base::FEATURE_DISABLED_BY_DEFAULT}; + #endif // defined(OS_WIN) -#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) +#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD) // Enables stylus appearing as touch when in contact with digitizer. const base::Feature kDirectManipulationStylus = { "DirectManipulationStylus", -@@ -123,7 +123,7 @@ const base::Feature kDirectManipulationStylus = { +@@ -131,7 +131,7 @@ const base::Feature kDirectManipulationStylus = { base::FEATURE_DISABLED_BY_DEFAULT #endif }; -#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) +#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_BSD) - // Disable the FormControlsRefresh feature for all platforms. See - // crbug.com/1057669. + // Enables forced colors mode for web content. + const base::Feature kForcedColors{"ForcedColors", +@@ -157,7 +157,7 @@ bool IsEyeDropperEnabled() { + // crbug.com/1012106 for the Windows launch bug, and crbug.com/1012108 for the + // Mac launch bug. + const base::Feature kFormControlsRefresh = {"FormControlsRefresh", +-#if defined(OS_WIN) || defined(OS_CHROMEOS) || defined(OS_LINUX) || \ ++#if defined(OS_WIN) || defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_BSD) || \ + defined(OS_MACOSX) + base::FEATURE_ENABLED_BY_DEFAULT + #else |