<!--  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.
-->

### Feature Request

The only current way to get the parameters set by ``setBounds`` of a ``BrowserView`` seems to be to store it as a global variable at creation, and to reference that variable. Ideally, there should be a way to get this information from the created ``BrowserView`` directly with ``getBounds``, like the ``BrowserWindow``. This is particularly important if the bounds of the ``BrowserView`` has been changed by ``setAutoResize`` after creation, because the bounds no longer match a stored global variable.
shell/browser/native_browser_view_mac.h
#ifndef SHELL_BROWSER_NATIVE_BROWSER_VIEW_MAC_H_
#define SHELL_BROWSER_NATIVE_BROWSER_VIEW_MAC_H_
#import <Cocoa/Cocoa.h>
#include <vector>
#include "base/mac/scoped_nsobject.h"
#include "shell/browser/native_browser_view.h"
namespace electron {
class NativeBrowserViewMac : public NativeBrowserView {
 public:
  explicit NativeBrowserViewMac(
      InspectableWebContents* inspectable_web_contents);
  ~NativeBrowserViewMac() override;
  void SetAutoResizeFlags(uint8_t flags) override;
  void SetBounds(const gfx::Rect& bounds) override;
  void SetBackgroundColor(SkColor color) override;
  void UpdateDraggableRegions(
      const std::vector<gfx::Rect>& system_drag_exclude_areas) override;
 private:
  DISALLOW_COPY_AND_ASSIGN(NativeBrowserViewMac);
};
}  
#endif