• xdai's avatar
    Cros splitscreen: Observe display change even though split view mode is not active. · c6c4cb32
    xdai authored
    Otherwise |screen_orientation_| might not have the correct screen
    orientation. For example:
    - In landscape mode, enter overview mode, drag a window around but do
    not snap it. The phantom window should show on left/right side of the
    screen.
    - Rotate the device to portrait mode
    - Drag the window around again. The phantom window should show on the
    top/bottom side of the screen. But instead it still shows on left/right
    side of the screen.
    
    Bug: 725683
    Change-Id: I3f4710648c5c8f988b8561af3fd6f46d62c6e429
    Reviewed-on: https://chromium-review.googlesource.com/726273Reviewed-by: default avatarMitsuru Oshima <oshima@chromium.org>
    Commit-Queue: Xiaoqian Dai <xdai@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#510126}
    c6c4cb32
split_view_controller.cc 26.8 KB