diff options
author | flackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-30 16:30:52 +0000 |
---|---|---|
committer | flackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-30 16:30:52 +0000 |
commit | d97d38b20772b07e97facc02a700b360dff8d5ab (patch) | |
tree | 9f1951bc3459ac431c8116d0774ffd9f4dc83918 /ui/aura/window.h | |
parent | 751459731324e2db0b5a04f205c2407ee1fb687d (diff) | |
download | chromium_src-d97d38b20772b07e97facc02a700b360dff8d5ab.zip chromium_src-d97d38b20772b07e97facc02a700b360dff8d5ab.tar.gz chromium_src-d97d38b20772b07e97facc02a700b360dff8d5ab.tar.bz2 |
Release aura::Desktop event handler windows on detaching an ancestor window.
BUG=105443
TEST=None
Review URL: http://codereview.chromium.org/8700013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112236 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window.h')
-rw-r--r-- | ui/aura/window.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/aura/window.h b/ui/aura/window.h index 9e1f05f..8aa38fd 100644 --- a/ui/aura/window.h +++ b/ui/aura/window.h @@ -146,6 +146,9 @@ class AURA_EXPORT Window : public ui::LayerDelegate { const Windows& children() const { return children_; } + // Returns true if this Window contains |other| somewhere in its children. + bool Contains(const Window* other) const; + // Adds or removes |child| as a transient child of this window. Transient // children get the following behavior: // . The transient parent destroys any transient children when it is |