### 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
if (!Browser::Get()->is_ready()) {
    args->ThrowError("Cannot create BrowserWindow before app is ready");
    return nullptr;
  }
  if (args->Length() > 1) {
    args->ThrowError();
    return nullptr;
  }
  mate::Dictionary options;
  if (!(args->Length() == 1 && args->GetNext(&options))) {
    options = mate::Dictionary::CreateEmpty(args->isolate());
  }
  return new BrowserWindow(args->isolate(), args->GetThis(), options);
}
void BrowserWindow::BuildPrototype(v8::Isolate* isolate,
                                   v8::Local<v8::FunctionTemplate> prototype) {
  prototype->SetClassName(mate::StringToV8(isolate, "BrowserWindow"));
  mate::ObjectTemplateBuilder(isolate, prototype->PrototypeTemplate())
      .SetMethod("focusOnWebView", &BrowserWindow::FocusOnWebView)
      .SetMethod("blurWebView", &BrowserWindow::BlurWebView)
      .SetMethod("isWebViewFocused", &BrowserWindow::IsWebViewFocused)
      .SetProperty("webContents", &BrowserWindow::GetWebContents);
}
v8::Local<v8::Value> BrowserWindow::From(v8::Isolate* isolate,