mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 00:17:32 +09:00
Finish off PiP
This commit is contained in:
parent
aac2156499
commit
55a53a2576
14 changed files with 293 additions and 21 deletions
|
|
@ -803,6 +803,12 @@ class nsIWidget : public nsISupports
|
|||
*/
|
||||
virtual void SetZIndex(int32_t aZIndex) = 0;
|
||||
|
||||
// Keep a top-level window above ordinary windows, including other apps.
|
||||
virtual void SetAlwaysOnTop(bool aAlwaysOnTop)
|
||||
{
|
||||
mAlwaysOnTop = aAlwaysOnTop;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the widget's z-index.
|
||||
*/
|
||||
|
|
@ -2032,6 +2038,7 @@ protected:
|
|||
bool mOnDestroyCalled;
|
||||
nsWindowType mWindowType;
|
||||
int32_t mZIndex;
|
||||
bool mAlwaysOnTop = false;
|
||||
};
|
||||
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(nsIWidget, NS_IWIDGET_IID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue