Move WindowMoveClient out of X11DesktopWindowMoveClient
In order to be able to move X11DesktopWindowMoveClient out of ui/views to ui/base/x, we need to stop subclassing wm::WindowMoveClient. This CL does it. Basically, we implement WindowMoveClientPlatform that reroutes the requests for RunMoveLoop to DWTHPlatform::RunMoveLoop, which then is supposed to call PlatformWindow::RunMoveLoop. Current, for X11, these calls are routed to DWTHX11::RunMoveLoop. Test: verify Tab Drag works on chrome/x11. Bug: 1069469 Change-Id: I60cd60001c47ddfcefe8248cb7a0a087c85bb164 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144053 Commit-Queue: Maksim Sisov <msisov@igalia.com> Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#758151}
Showing
Please register or sign in to comment