[XProto] Move RequestQueue into Connection
This CL just moves some things around and has no behavior changes. 1. Move response/event processing from X11EventSource to x11::Connection. This is done because X11EventSource can be null in some tests, but we always have an x11::Connection. Needed to fix tests for [1]. Also wanted for [2] which begins migrating events from Xlib to XProto. 2. Move some logic from x11::Future into x11::FutureBase. This is done to avoid including ui/gfx/x/connection.h from xproto_types.h which would otherwise add a circular include. [1] https://chromium-review.googlesource.com/c/chromium/src/+/2220686 [2] https://chromium-review.googlesource.com/c/chromium/src/+/2220635 BUG=1066670 R=msisov TBR=sky Change-Id: Ia0710595c6cb6337a8c9b52f31ceaafefaf00cbc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2220524Reviewed-by:Thomas Anderson <thomasanderson@chromium.org> Reviewed-by:
Maksim Sisov <msisov@igalia.com> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#773867}
Showing
ui/gfx/x/xproto_types.cc
0 → 100644
Please register or sign in to comment