summaryrefslogtreecommitdiffstats
path: root/media/base/media_stub.cc
diff options
context:
space:
mode:
authorpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-06 22:54:12 +0000
committerpkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-06 22:54:12 +0000
commit76ff1e3601252b13d0ad4b6521fbe64259fcf7fc (patch)
treefdfa22600a391b9159ae407978c188a286eaa0b3 /media/base/media_stub.cc
parenta21c13963d75ea8d85237fd768db7c08d4417d45 (diff)
downloadchromium_src-76ff1e3601252b13d0ad4b6521fbe64259fcf7fc.zip
chromium_src-76ff1e3601252b13d0ad4b6521fbe64259fcf7fc.tar.gz
chromium_src-76ff1e3601252b13d0ad4b6521fbe64259fcf7fc.tar.bz2
Fix 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 Review URL: https://chromiumcodereview.appspot.com/14634003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198558 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/media_stub.cc')
0 files changed, 0 insertions, 0 deletions