DescriptionFix the size of the tabs when exiting immersive fullscreen with the tab indicators hidden.
The following occurs when exiting immersive fullscreen, in order:
1) The aura::Window's kShowStateKey is updated. This causes a layout of the BrowserView's non client view. (Note that BrowserView::ProcessFullscreen() does not disable laying out the non client view.)
2) Immersive fullscreen is disabled
3) BrowserView::Layout()
This CL fixes a bug where the y position of the browser view in its parent is incorrect due to BrowserView::IsFullscreen() returning false and ImmersiveModeController::IsEnabled() returning true during step 1.
BUG=233271
Test=Manual, see repro steps below
1) Run chrome with --ash-immersive-hide-tab-indicators --ash-enable-immersive-fullscreen
2) Use F4 to enter immersive fullscreen
3) With the top-of-window views hidden, hit F4 to exit immersive fullscreen
4) The tab strip should be properly visible
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=198558
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Messages
Total messages: 4 (0 generated)
|