Need a Linux impl for https://github.com/electron/electron/pull/12485
atom/browser/api/atom_api_top_level_window.cc
return weak_map_id();
}
void TopLevelWindow::ResetBrowserViews() {
  for (auto& item : browser_views_) {
    mate::Handle<BrowserView> browser_view;
    if (mate::ConvertFromV8(isolate(),
                            v8::Local<v8::Value>::New(isolate(), item.second),
                            &browser_view) &&
        !browser_view.IsEmpty()) {
      window_->RemoveBrowserView(browser_view->view());
      browser_view->web_contents()->SetOwnerWindow(nullptr);
    }
    item.second.Reset();
  }
  browser_views_.clear();
}
void TopLevelWindow::RemoveFromParentChildWindows() {
  if (parent_window_.IsEmpty())
    return;
  mate::Handle<TopLevelWindow> parent;
  if (!mate::ConvertFromV8(isolate(), GetParentWindow(), &parent) ||
      parent.IsEmpty()) {
    return;
  }
  parent->child_windows_.Remove(weak_map_id());
}
mate::WrappableBase* TopLevelWindow::New(mate::Arguments* args) {