summaryrefslogtreecommitdiffstats
path: root/media/formats
diff options
context:
space:
mode:
authortapted <tapted@chromium.org>2014-12-08 18:18:45 -0800
committerCommit bot <commit-bot@chromium.org>2014-12-09 02:19:05 +0000
commitb4be4bbf75f05080011ae1abb3258e81367ff627 (patch)
tree488badf34281fc3adff8a61decd25e0712c7b5fa /media/formats
parentd484d45513b5d1460c77fb1e9c1222d620b43abb (diff)
downloadchromium_src-b4be4bbf75f05080011ae1abb3258e81367ff627.zip
chromium_src-b4be4bbf75f05080011ae1abb3258e81367ff627.tar.gz
chromium_src-b4be4bbf75f05080011ae1abb3258e81367ff627.tar.bz2
MacViews: Cater for the implied visibility change with -[NSWindow toggleFullScreen:]
Calling toggleFullScreen: implicitly makes the NSWindow visible. Failing to cater for this causes tests to fail when layers are added. AppKit updates window visibility quite late in the toggleFullScreen flow. The best thing to do seems to be to just pre-empt the implied visibility change and ensure the window is visible, before calling toggleFullScreen:. The fullscreen tests also get a lot flakier when layers enter the picture. This is because tests are parallelised, and if two processes simultaneously call toggleFullScreen:, then one of them fails. This CL moves them to the macviews_interactive_ui_tests (which will soon be absorbed into interactive_ui_tests). BUG=424058 TBR=sky@chromium.org (gyp/gn) Review URL: https://codereview.chromium.org/783043002 Cr-Commit-Position: refs/heads/master@{#307403}
Diffstat (limited to 'media/formats')
0 files changed, 0 insertions, 0 deletions