<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

### Problem Description
<!-- Is your feature request related to a problem? Please add a clear and concise description of what the problem is. -->
My electron version is 6.1.11, and I can't update because visibleOnFullScreen option on setVisibleOnAllWorkspaces is deprecated. It works fine on mac 10.15.4 and newer version.
To code like this:

  app.dock.hide()
  window.setAlwaysOnTop(true, 'floating')
  window.setVisibleOnAllWorkspaces(true, { visibleOnFullScreen: true })

The visibleOnFullScreen option is very important to my electron app and I'm so appreciate if you can check this feature again!

shell/browser/native_window_views.cc
const gfx::Rect& bounds) {
  if (changed_widget != widget())
    return;
  
  
  const auto new_bounds = GetBounds();
  if (widget_size_ != new_bounds.size()) {
    int width_delta = new_bounds.width() - widget_size_.width();
    int height_delta = new_bounds.height() - widget_size_.height();
    for (NativeBrowserView* item : browser_views()) {
      NativeBrowserViewViews* native_view =
          static_cast<NativeBrowserViewViews*>(item);
      native_view->SetAutoResizeProportions(widget_size_);
      native_view->AutoResize(new_bounds, width_delta, height_delta);
    }
    NotifyWindowResize();
    widget_size_ = new_bounds.size();
  }
}
void NativeWindowViews::OnWidgetDestroying(views::Widget* widget) {