Need a Linux impl for https://github.com/electron/electron/pull/12485
atom/browser/api/atom_api_top_level_window.cc
Emit("minimize");
}
void TopLevelWindow::OnWindowRestore() {
  Emit("restore");
}
void TopLevelWindow::OnWindowWillResize(const gfx::Rect& new_bounds,
                                        bool* prevent_default) {
  if (Emit("will-resize", new_bounds)) {
    *prevent_default = true;
  }
}
void TopLevelWindow::OnWindowResize() {
  Emit("resize");
}
void TopLevelWindow::OnWindowWillMove(const gfx::Rect& new_bounds,
                                      bool* prevent_default) {
  if (Emit("will-move", new_bounds)) {
    *prevent_default = true;
  }
}
void TopLevelWindow::OnWindowMove() {
  Emit("move");
}
void TopLevelWindow::OnWindowMoved() {
  Emit("moved");
}
void TopLevelWindow::OnWindowEnterFullScreen() {
  Emit("enter-full-screen");
}
void TopLevelWindow::OnWindowLeaveFullScreen() {