### Issue Details

* **Electron Version:**
    4.2.9 , 5.x , 6.x
* **Operating System:**
  macOS 10.14.6

### To Reproduce

https://gist.github.com/deepak1556/5edd25929a0a3077a89328eaf60ec0f9

### Screenshots

![ezgif com-video-to-gif](https://user-images.githubusercontent.com/964386/63203707-30c56f80-c046-11e9-91b9-3331cebfb07b.gif)

### Additional Information

This is a regression from https://github.com/electron/electron/pull/19319

shell/browser/native_window_mac.h
class NativeWindowMac : public NativeWindow {
 public:
  NativeWindowMac(const mate::Dictionary& options, NativeWindow* parent);
  ~NativeWindowMac() override;
  
  void SetContentView(views::View* view) override;
  void Close() override;
  void CloseImmediately() override;
  void Focus(bool focus) override;
  bool IsFocused() override;
  void Show() override;
  void ShowInactive() override;
  void Hide() override;
  bool IsVisible() override;
  bool IsEnabled() override;
  void SetEnabled(bool enable) override;
  void Maximize() override;
  void Unmaximize() override;
  bool IsMaximized() override;
  void Minimize() override;
  void Restore() override;
  bool IsMinimized() override;
  void SetFullScreen(bool fullscreen) override;
  bool IsFullscreen() const override;
  void SetBounds(const gfx::Rect& bounds, bool animate = false) override;
  gfx::Rect GetBounds() override;
  bool IsNormal() override;
  gfx::Rect GetNormalBounds() override;
  void SetContentSizeConstraints(