Need a Linux impl for https://github.com/electron/electron/pull/12485
atom/browser/native_window_views.cc
size = ContentBoundsToWindowBounds(gfx::Rect(size)).size();
  widget()->CenterWindow(size);
#if defined(OS_WIN)
  
  if (fullscreen)
    last_window_state_ = ui::SHOW_STATE_FULLSCREEN;
  else
    last_window_state_ = ui::SHOW_STATE_NORMAL;
  last_normal_bounds_ = GetBounds();
#endif
#if defined(OS_LINUX)
  
  aura::Window* window = GetNativeWindow();
  if (window)
    window->AddPreTargetHandler(this);
#endif
}
NativeWindowViews::~NativeWindowViews() {
  widget()->RemoveObserver(this);
#if defined(OS_WIN)
  
  SetForwardMouseMessages(false);
#endif
#if defined(OS_LINUX)
  aura::Window* window = GetNativeWindow();
  if (window)
    window->RemovePreTargetHandler(this);
#endif
}
void NativeWindowViews::SetContentView(views::View* view) {