diff options
author | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-18 20:53:58 +0000 |
---|---|---|
committer | mark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-18 20:53:58 +0000 |
commit | 51a6ffd56169cd3d155610a816ccba5c2d525713 (patch) | |
tree | 5876c01ee1c4fe956e1cea1c765230bd10a24f9e /ui/surface | |
parent | 992d4b117a6b2e5e8a7d6ced1b01369d0e1e0042 (diff) | |
download | chromium_src-51a6ffd56169cd3d155610a816ccba5c2d525713.zip chromium_src-51a6ffd56169cd3d155610a816ccba5c2d525713.tar.gz chromium_src-51a6ffd56169cd3d155610a816ccba5c2d525713.tar.bz2 |
[Mac] Add a rect check to determine when to animate extension popup window
size changes.
Something about the new child window animation changed in 10.9. It's no longer
possible to detect a child window that's animating in based on its alphaValue,
but comparing [window frame] to [[window animator] frame] seems to work.
r240455 was a previous attempt at fixing this problem. Its policy was to
always animate on size changes, but wound up sometimes not displaying a popup
at all (bug 328776). I was able to reproduce that problem in a release build.
This version does not suffer from that defect. The new animation detection
should work on 10.9 and earlier OS releases.
BUG=307912
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/102113003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241645 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/surface')
0 files changed, 0 insertions, 0 deletions