• Christopher Cameron's avatar
    Remote MacViews: Move ui::Compositor to browser · 43bd10a2
    Christopher Cameron authored
    Move the following from BridgedNativeWidget to
    BridgedNativeWidgetHostImpl:
    - ui::Compositor (as RecyclableCompositorMac)
    - ui::LayerDelegate subclass
    - ui::LayerOwner subclass
    - ui::AcceleratedWidgetMacNSView subclass
    
    Update BridgedNativeWidgetHost interface to include methods to
    indicate the desired size and visibility of the ui::Compositor.
    
    Add methods to BridgedNativeWidget which will in the future be
    transferred to the abstract interface (when BridgedNativeWidget is
    renamed to BridgedNativeWidgetImpl, which I'm still putting off for
    merge-ability sake).
    - OnCompositorCreated indicates that the compositor is created and
      should receive size and visibility updates
    - SetCALayerParams sends the parameters needed to display the
      compositor contents in another process
    
    Bug: 859152
    Change-Id: I62209be44035f6b2b596afeb827cd951f30ef40c
    Reviewed-on: https://chromium-review.googlesource.com/1166196
    Commit-Queue: ccameron <ccameron@chromium.org>
    Reviewed-by: default avatarTrent Apted <tapted@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#581709}
    43bd10a2
bridged_native_widget.h 14.6 KB