Do not cancel overview mode if a window drag in progress.

Window activating change might go to cancel overview mode after this

Drag a browser window with a bubble dialog ('Restore pages') will
trigger window activation changes from the browser window to the bubble
dialog when drag starts. This will cause cancel overview in
OverviewSession:OnWindowActivating, which will fail the DCHECK that
overview mode should always open during window drag.

This cl makes overview mode will not be cancelled if a window drag in

Bug: 955814
Change-Id: I77d118cd7e69f58a7a2448d3bfbe1e6310b4f063
Commit-Queue: Min Chen <>
Reviewed-by: Xiaoqian Dai <>
Cr-Commit-Position: refs/heads/master@{#663320}
2 files changed