mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
Issue #2472 - Part 4: Make TopLayer{Push|Pop} part of nsIDocument.
This commit is contained in:
parent
79c7489bb0
commit
7a04afab4a
2 changed files with 11 additions and 2 deletions
|
|
@ -904,11 +904,11 @@ public:
|
|||
void CleanupFullscreenState();
|
||||
|
||||
// Pushes aElement onto the top layer
|
||||
bool TopLayerPush(Element* aElement);
|
||||
bool TopLayerPush(Element* aElement) override;
|
||||
|
||||
// Removes the topmost element which have aPredicate return true from the top
|
||||
// layer. The removed element, if any, is returned.
|
||||
Element* TopLayerPop(FunctionRef<bool(Element*)> aPredicateFunc);
|
||||
Element* TopLayerPop(FunctionRef<bool(Element*)> aPredicateFunc) override;
|
||||
|
||||
// Pops the fullscreen element from the top layer and clears its
|
||||
// fullscreen flag.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue