ozone/x11: Refactor X11WindowOzone to reuse ui::XWindow
As part of large refactoring in X11 code, crrev.com/c/1695008 introduces ui::XWindow, a reusable X11 Window class extracted from views::DesktopWindowTreeHostX11, it also modified DWTHX11 to leverage ui::XWindow, making it more like DesktopWindowTreeHostPlatform, which uses Ozone/PlatformWindow to abstract platform-specific window implementation. This CL does an initial refactoring in X11WindowOzone, so that it starts using ui::XWindow to back its PlatformWindow implementation, which already fixes previous broken functionality, such as window activation. Other improvements/fixes will be addressed in followup patches. Bug: 981606, 789065 Change-Id: I9f7f686bbcaa51d391e77ce77b5dcfd15c91dc0b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1698263Reviewed-by:kylechar <kylechar@chromium.org> Commit-Queue: Nick Yamane <nickdiego@igalia.com> Cr-Commit-Position: refs/heads/master@{#677005}
Showing
This diff is collapsed.
Please register or sign in to comment