### Issue Details

* **Electron Version:**
  * 3.0.x, 4.0.x, 5.0.x, 6.0.x
* **Operating System:**
  * macOS 10.14.5
* **Last Known Working Electron version:**
  * 2.0.x

### Expected Behavior
`BrowserWindow.on('swipe')` fires when doing a 3-finger swipe gesture.

### Actual Behavior
`BrowserWindow.on('swipe')` does not fire.

shell/browser/api/atom_api_browser_window.cc
window_unresponsive_closure_.Cancel();
  Emit("responsive");
}
void BrowserWindow::OnDraggableRegionsUpdated(
    const std::vector<mojom::DraggableRegionPtr>& regions) {
  UpdateDraggableRegions(regions);
}
void BrowserWindow::RequestPreferredWidth(int* width) {
  *width = web_contents()->GetPreferredSize().width();
}
void BrowserWindow::OnCloseButtonClicked(bool* prevent_default) {
  
  
  
  *prevent_default = true;
  
  
  
  
  if (window_unresponsive_closure_.IsCancelled())
    ScheduleUnresponsiveEvent(5000);
  if (!web_contents())
    
    return;
  if (web_contents()->NeedToFireBeforeUnload())
    web_contents()->DispatchBeforeUnload(false );
  else
    web_contents()->Close();
}
void BrowserWindow::OnWindowClosed() {