• James Cook's avatar
    chromeos: Use Screen::GetDisplayForNewWindows in chrome/browser · 7363ebc0
    James Cook authored
    display::Screen (and ScreenMus) now has the display for new windows,
    so we can use that when making new browser windows under both mash
    and classic ash. Likewise, we can use display::Screen (as ScreenAsh)
    for new windows inside of ash.
    
    This lets me remove ShellStateClient, a different mechanism that
    accomplishes the same goal in a less general way.
    
    Leave ash::ShellState for now. I will clean that up in a separate CL.
    
    TBR=tsepez@chromium.org
    
    Bug: 764009
    Test: existing browser_tests for browser frame/size
    Change-Id: I5c255dc2bf8fdd48f519f148d29aca3d37e7ae73
    Reviewed-on: https://chromium-review.googlesource.com/1168197Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
    Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Commit-Queue: James Cook <jamescook@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#582336}
    7363ebc0
screen.cc 2.11 KB