• Jun Mukai's avatar
    Change the timing of Hide and losing Focus in Mash · 7566f8d3
    Jun Mukai authored
    This CL changes the order of HideImpl and giving up the focus
    within DesktopWindowTreeHostMus. As is written in the comment,
    this is because some code like WindowActivityWatcher assumes
    the window is already invisible when the window gives up the
    focus.
    
    BUG=896080
    TEST=interactive_ui_tests --enable-features=SingleProcessMash
    
    Change-Id: I48a45bbea87c2e66d9827d2f7776b038edfca512
    Reviewed-on: https://chromium-review.googlesource.com/c/1297401Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Commit-Queue: Jun Mukai <mukai@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#602245}
    7566f8d3
desktop_window_tree_host_mus.cc 35 KB