Make sure we append parent->child_windows after InitWith
This commit is contained in:
parent
c090dd2f81
commit
cfed9fa4b9
2 changed files with 18 additions and 7 deletions
|
@ -40,6 +40,9 @@ class TopLevelWindow : public mate::TrackableObject<TopLevelWindow>,
|
|||
const mate::Dictionary& options);
|
||||
~TopLevelWindow() override;
|
||||
|
||||
// TrackableObject:
|
||||
void InitWith(v8::Isolate* isolate, v8::Local<v8::Object> wrapper) override;
|
||||
|
||||
// NativeWindowObserver:
|
||||
void WillCloseWindow(bool* prevent_default) override;
|
||||
void OnWindowClosed() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue