summaryrefslogtreecommitdiffstats
path: root/widget/cocoa/nsCocoaWindow.h
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2020-11-16 07:23:44 -0600
committerBrian Smith <brian@dbsoft.org>2020-11-16 07:23:44 -0600
commitfa5aba4c0fd68c5b629cbf8f55dba36c626ee933 (patch)
treee9f1ac2c06949e0f242fab23d0d9f6ae816b9365 /widget/cocoa/nsCocoaWindow.h
parentb6d909ad17c44157c9cbea90078727414f759253 (diff)
downloadUXP-fa5aba4c0fd68c5b629cbf8f55dba36c626ee933.tar
UXP-fa5aba4c0fd68c5b629cbf8f55dba36c626ee933.tar.gz
UXP-fa5aba4c0fd68c5b629cbf8f55dba36c626ee933.tar.lz
UXP-fa5aba4c0fd68c5b629cbf8f55dba36c626ee933.tar.xz
UXP-fa5aba4c0fd68c5b629cbf8f55dba36c626ee933.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/nsCocoaWindow.h')
-rw-r--r--widget/cocoa/nsCocoaWindow.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/widget/cocoa/nsCocoaWindow.h b/widget/cocoa/nsCocoaWindow.h
index 6338f474d..1913696b8 100644
--- a/widget/cocoa/nsCocoaWindow.h
+++ b/widget/cocoa/nsCocoaWindow.h
@@ -359,7 +359,8 @@ protected:
nsresult CreateNativeWindow(const NSRect &aRect,
nsBorderStyle aBorderStyle,
bool aRectIsFrameRect);
- nsresult CreatePopupContentView(const LayoutDeviceIntRect &aRect);
+ nsresult CreatePopupContentView(const LayoutDeviceIntRect &aRect,
+ nsWidgetInitData* aInitData);
void DestroyNativeWindow();
void AdjustWindowShadow();
void SetWindowBackgroundBlur();
@@ -416,6 +417,8 @@ protected:
bool mInReportMoveEvent; // true if in a call to ReportMoveEvent().
bool mInResize; // true if in a call to DoResize().
+ bool mAlwaysOnTop;
+
int32_t mNumModalDescendents;
InputContext mInputContext;
};