• Christopher Cameron's avatar
    RemoteMacViews: Remove most views calls from BridgedContentView · ab8d9781
    Christopher Cameron authored
    In BridgedContentView, change most calls that refer to the views::View
    hostedView_ to be routed through the BridgedNativeWidgetHost interface.
    
    Leave keyboard events, text input, and a11y unchanged for now.
    
    Add a BridgedNativeWidgetHostImpl::SetRootLayer method which now calls
    through to BridgedNativeWidget::SetRootLayer. Once the remaining uses
    of hostedView_ are removed, the BridgedNativeWidget::SetRootLayer method
    will be removed.
    
    Bug: 859152
    Change-Id: I2a010b3149357af4f9aeaec0088eb9fcde53db13
    Reviewed-on: https://chromium-review.googlesource.com/1168459
    Commit-Queue: ccameron <ccameron@chromium.org>
    Reviewed-by: default avatarElly Fong-Jones <ellyjones@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#581960}
    ab8d9781
native_widget_mac.mm 28.5 KB