We should define a mojo interface to the display compositor for Mus-WS and possibly also Chrome.
It is the thing by which you request new CompositorFrameSinks. A mus::Window can own more than one CompositorFrameSink.
We may wish pass input events to the DisplayCompositor as well.
We need to be able to pass the AcceleratedWidget to the DisplayCompositor. Given a DisplayCompositor is associated with a single AcceleratedWidget. We may want a DisplayCompositor per physical display?
A DisplayCompositorClient may receive responses to hit tests?
Once this interface is well defined, this should be the only means by which consumers of DisplayCompositor communicate to DisplayCompositor. All other details should be private as they may or may not be in process.
Comment 1 by fsam...@chromium.org
, May 11 2016