ozone/wayland: Extract ShellObjectFactory to a separate file.
This CL 1) extracts ShellObjectFactory into a separate file and keeps the same creation and initialization logic of wrappers of shell objects, 2) extends ShellPopupWrapper and ShellSurfaceWrapper interfaces by adding Initialize method so that it is more convenient to initialize XdgPopupWrapperImpl XdgSurfaceWrapperImpl and let them handle initialization based on the available xdg-shell version, 3) makes WaylandWindow use the extracted ShellObjectFactory, 4) makes InitializeStable and InitializeV6 methods of XDGWrapper objects be private members. The decision on which one to call is made in the main Initialize method now. 5) reconsiders the logging whether we need to keep pointers to some objects or not. Bug: 1028919 Change-Id: I87fd5fc0d0b35222f26c460c9174da6053dc320e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1953708Reviewed-by:Michael Spang <spang@chromium.org> Commit-Queue: Maksim Sisov <msisov@igalia.com> Cr-Commit-Position: refs/heads/master@{#722572}
Showing
Please register or sign in to comment