### 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
AtomPreviewItem* preview_item() const { return preview_item_.get(); }
  AtomTouchBar* touch_bar() const { return touch_bar_.get(); }
  bool zoom_to_page_width() const { return zoom_to_page_width_; }
  bool fullscreen_window_title() const { return fullscreen_window_title_; }
  bool simple_fullscreen() const { return always_simple_fullscreen_; }
 protected:
  
  bool CanResize() const override;
  views::View* GetContentsView() override;
 private:
  
  void AddContentViewLayers(bool minimizable, bool closable);
  void InternalSetParentWindow(NativeWindow* parent, bool attach);
  void SetForwardMouseMessages(bool forward);
  AtomNSWindow* window_;  
  base::scoped_nsobject<AtomNSWindowDelegate> window_delegate_;
  base::scoped_nsobject<AtomPreviewItem> preview_item_;
  base::scoped_nsobject<AtomTouchBar> touch_bar_;
  base::scoped_nsobject<CustomWindowButtonView> buttons_view_;
  
  id wheel_event_monitor_;
  
  base::scoped_nsobject<FullSizeContentView> container_view_;
  
  std::unique_ptr<RootViewMac> root_view_;