fix: reparenting after BrowserWindow.destroy() (#39062)

fix: reparenting after BrowserWindow.destroy()
This commit is contained in:
Shelley Vohr 2023-07-26 16:47:32 +02:00 committed by GitHub
parent fa5b1be6f3
commit 695fcf3cb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 46 additions and 9 deletions

View file

@ -149,6 +149,7 @@ class NativeWindow : public base::SupportsUserData,
virtual std::string GetAlwaysOnTopLevel() = 0;
virtual void SetActive(bool is_key) = 0;
virtual bool IsActive() const = 0;
virtual void RemoveChildFromParentWindow() = 0;
virtual void RemoveChildWindow(NativeWindow* child) = 0;
virtual void AttachChildren() = 0;
virtual void DetachChildren() = 0;