summaryrefslogtreecommitdiffstats
path: root/ui/views/paint_lock.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-27 16:03:48 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-27 16:03:48 +0000
commitddd91e99989b2aa7539516f673f746f088cc607c (patch)
tree3f32d988f46f677e504b8fe42829cfce80962da7 /ui/views/paint_lock.h
parent92c0ca8e8f3873d7cbd8b72d751ba0106486c7dc (diff)
downloadchromium_src-ddd91e99989b2aa7539516f673f746f088cc607c.zip
chromium_src-ddd91e99989b2aa7539516f673f746f088cc607c.tar.gz
chromium_src-ddd91e99989b2aa7539516f673f746f088cc607c.tar.bz2
Allow hide animations to work again:
- Introduces VisibilityClient, which aura::Window defers to to update layer visibility, if present. This replaces code which previously undid layer visibility changes after they were set. Layer visibility changes are potentially destructiver (they can drop textures associated with the layer and require a repaint). - Implements this in ash in VisibilityController, which animates the visibility changes of children in annotated parents. - Annotates various windows as requiring child window visibility change animations. This replaces animating visibility changes in LayoutManagers. - Adds a second layer of visibility determination to aura::Window. Some code may check Window->IsVisible which was simply testing layer visibility. We want Window->IsVisible to return false as soon as Window::Hide() is called, so we add a member for this. - We prevent stacking changes to the window from being propagated to the layer if the layer's delegate has been detached (i.e. the layer is hiding) BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/9235016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119453 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/paint_lock.h')
0 files changed, 0 insertions, 0 deletions