• Christopher Cameron's avatar
    mac: Ensure surface invariants are not violated · 25ceb614
    Christopher Cameron authored
    Make BrowserCompositorViewMac be the source of ScreenInfo, and merge
    the update for screen properties with the resize update as
    BrowserCompositorViewMac::UpdateNSViewAndDisplay.
    
    Merge all RenderWidgetHostViewMac paths that update size or screen
    info into RenderWidgetHostViewMac::UpdateNSViewAndDisplayProperties,
    which communicates the changes (if any) to RenderWidgetHostImpl.
    
    Change-Id: Idc7f654c93d0622815825fdb6fff46afcb38767e
    Reviewed-on: https://chromium-review.googlesource.com/918284
    Commit-Queue: ccameron <ccameron@chromium.org>
    Reviewed-by: default avatarFady Samuel <fsamuel@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#537240}
    25ceb614
display.h 9.19 KB