This is about making the ppapi version work with mus ... although, it may not be a bad idea to look into servicifying pdf at the same time. Thanks for the link to that bug!
It seems like the following needs to happen:
. RenderWidgetHostViewGuest will get a WindowTreeClient from the renderer and call ScheduleEmbed on it.
. Once RenderWidgetHostViewGuest gets the token it passes it to BrowserPlugin.
. BrowserPlugin creates a mus window using the RendererWindowTreeClient from the RenderWidget of the RenderFrameImpl of the BrowserPlugin and calls EmbedUsingToken() on it.
Comment 1 by dsinclair@chromium.org
, Aug 15 2017