summaryrefslogtreecommitdiffstats
path: root/widget/cocoa/nsCocoaFeatures.h
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2020-11-16 07:23:44 -0600
committerMoonchild <moonchild@palemoon.org>2020-11-19 22:44:22 +0000
commit4f0f4aa8794ef12260d9d973b40ad3b942b69b72 (patch)
treec17d559d242f6b7c4a045a5845b78e9d81d841f1 /widget/cocoa/nsCocoaFeatures.h
parent53ca366d2b34f237e42f8108d7a71586b5285e44 (diff)
downloadUXP-4f0f4aa8794ef12260d9d973b40ad3b942b69b72.tar
UXP-4f0f4aa8794ef12260d9d973b40ad3b942b69b72.tar.gz
UXP-4f0f4aa8794ef12260d9d973b40ad3b942b69b72.tar.lz
UXP-4f0f4aa8794ef12260d9d973b40ad3b942b69b72.tar.xz
UXP-4f0f4aa8794ef12260d9d973b40ad3b942b69b72.zip
Issue #1667 - Part 2: Add MacOS 11.0 Big Sur widget compatibility
This involves refactoring the vibrancy and OpenGL/Pixel rendering changes contained in the following Mozilla meta bugs: 1496823 and 1491445 Also add Big Sur to the features tests and update popup menu look and feel based on Mozilla bug 1656301.
Diffstat (limited to 'widget/cocoa/nsCocoaFeatures.h')
-rw-r--r--widget/cocoa/nsCocoaFeatures.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/widget/cocoa/nsCocoaFeatures.h b/widget/cocoa/nsCocoaFeatures.h
index 984dae80e..7ebbe759f 100644
--- a/widget/cocoa/nsCocoaFeatures.h
+++ b/widget/cocoa/nsCocoaFeatures.h
@@ -24,6 +24,7 @@ public:
static bool OnHighSierraOrLater();
static bool OnMojaveOrLater();
static bool OnCatalinaOrLater();
+ static bool OnBigSurOrLater();
static bool IsAtLeastVersion(int32_t aMajor, int32_t aMinor, int32_t aBugFix=0);