• Mitsuru Oshima's avatar
    Cancel Overview first when activation changes · e6c35095
    Mitsuru Oshima authored
    * WindowSelectorObserver listens the activation change first so that
      it can cancel the overview before resuming minimized window.
    * This also fixes a crash that happens if you click the overview button
     while activating a window in overview.
    * This also fixes the bug in WindowSelectorController was calling wrong
      "Starting/EndingAnimation". This happens to work fine
      because the end results are the same.
    
    Bug: 905813
    Test: covered by unit test. WindowSelectorControllerTest::AnimationCallbacks
    Change-Id: I2b3d3fdc2e68bb41c0d037d46552cf6cfda98746
    Reviewed-on: https://chromium-review.googlesource.com/c/1338175
    Commit-Queue: Mitsuru Oshima <oshima@chromium.org>
    Reviewed-by: default avatarSammie Quon <sammiequon@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#608930}
    e6c35095
window_selector_controller.h 5.66 KB