### 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
const extensions::SizeConstraints& size_constraints) override;
  void SetResizable(bool resizable) override;
  bool MoveAbove(const std::string& sourceId) override;
  void MoveTop() override;
  bool IsResizable() override;
  void SetMovable(bool movable) override;
  void SetAspectRatio(double aspect_ratio,
                      const gfx::Size& extra_size) override;
  void PreviewFile(const std::string& path,
                   const std::string& display_name) override;
  void CloseFilePreview() override;
  bool IsMovable() override;
  void SetMinimizable(bool minimizable) override;
  bool IsMinimizable() override;
  void SetMaximizable(bool maximizable) override;
  bool IsMaximizable() override;
  void SetFullScreenable(bool fullscreenable) override;
  bool IsFullScreenable() override;
  void SetClosable(bool closable) override;
  bool IsClosable() override;
  void SetAlwaysOnTop(ui::ZOrderLevel z_order,
                      const std::string& level,
                      int relativeLevel,
                      std::string* error) override;
  ui::ZOrderLevel GetZOrderLevel() override;
  void Center() override;
  void Invalidate() override;
  void SetTitle(const std::string& title) override;
  std::string GetTitle() override;
  void FlashFrame(bool flash) override;