Need a Linux impl for https://github.com/electron/electron/pull/12485
atom/browser/native_window_views.cc
if (content_view()) {
    root_view_->RemoveChildView(content_view());
  }
  set_content_view(view);
  focused_view_ = view;
  root_view_->AddChildView(content_view());
  root_view_->Layout();
}
void NativeWindowViews::Close() {
  if (!IsClosable()) {
    WindowList::WindowCloseCancelled(this);
    return;
  }
  widget()->Close();
}
void NativeWindowViews::CloseImmediately() {
  widget()->CloseNow();
}
void NativeWindowViews::Focus(bool focus) {
  
  if (!IsVisible())
    return;
  if (focus) {
    widget()->Activate();
  } else {
    widget()->Deactivate();
  }
}
bool NativeWindowViews::IsFocused() {