fix: all children showing when showing child window (#40062)
This commit is contained in:
parent
5ad69df52e
commit
3392d9a2e7
4 changed files with 40 additions and 4 deletions
|
@ -189,6 +189,9 @@ class NativeWindowMac : public NativeWindow,
|
|||
has_deferred_window_close_ = defer_close;
|
||||
}
|
||||
|
||||
void set_wants_to_be_visible(bool visible) { wants_to_be_visible_ = visible; }
|
||||
bool wants_to_be_visible() const { return wants_to_be_visible_; }
|
||||
|
||||
enum class VisualEffectState {
|
||||
kFollowWindow,
|
||||
kActive,
|
||||
|
@ -255,6 +258,10 @@ class NativeWindowMac : public NativeWindow,
|
|||
// transition is complete.
|
||||
bool has_deferred_window_close_ = false;
|
||||
|
||||
// If true, the window is either visible, or wants to be visible but is
|
||||
// currently hidden due to having a hidden parent.
|
||||
bool wants_to_be_visible_ = false;
|
||||
|
||||
NSInteger attention_request_id_ = 0; // identifier from requestUserAttention
|
||||
|
||||
// The presentation options before entering kiosk mode.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue