mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 911889. Part 4. Add API to detect whether an nsGlobalWindow is running a timeout handler. r=bz
--HG-- extra : rebase_source : 17eabb4f819748ab9ec0ef38681c28df7b0a1861
This commit is contained in:
parent
05b58a7e00
commit
2f979dbeb4
@ -434,6 +434,7 @@ public:
|
|||||||
{
|
{
|
||||||
return mIsFrozen;
|
return mIsFrozen;
|
||||||
}
|
}
|
||||||
|
virtual NS_HIDDEN_(bool) IsRunningTimeout() { return mTimeoutFiringDepth > 0; }
|
||||||
|
|
||||||
virtual NS_HIDDEN_(bool) WouldReuseInnerWindow(nsIDocument *aNewDocument);
|
virtual NS_HIDDEN_(bool) WouldReuseInnerWindow(nsIDocument *aNewDocument);
|
||||||
|
|
||||||
|
@ -189,6 +189,8 @@ public:
|
|||||||
return mDoc;
|
return mDoc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual NS_HIDDEN_(bool) IsRunningTimeout() = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// Lazily instantiate an about:blank document if necessary, and if
|
// Lazily instantiate an about:blank document if necessary, and if
|
||||||
// we have what it takes to do so.
|
// we have what it takes to do so.
|
||||||
|
Loading…
Reference in New Issue
Block a user