x11: Remove x11-specific WindowEventFilter implementation
This cleanup CL removes views::X11WindowEventFilter class in favor of generic views::WindowEventFilter by modifying DesktopWindowTreeHostX11 to implement WmMoveResizeHandler interface. As part of Aura/X11 => Ozone/X11 migration, this makes non-client event handling in DWTHX11 more like DWTHPlatform as well as removes one more unneeded usage of Event::native_event() which contributes to X11 PlatformEvent migration sub-task. Bug: 965991 Test: Covered by tests (no behavioral change). Change-Id: Ie4a6457a2c4b68a09cb3b5622c65b736d2d490eb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1772537Reviewed-by:Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Nick Yamane <nickdiego@igalia.com> Cr-Commit-Position: refs/heads/master@{#691298}
Showing
Please register or sign in to comment