summaryrefslogtreecommitdiffstats
path: root/ui/aura/window.h
diff options
context:
space:
mode:
authorflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-30 16:30:52 +0000
committerflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-30 16:30:52 +0000
commitd97d38b20772b07e97facc02a700b360dff8d5ab (patch)
tree9f1951bc3459ac431c8116d0774ffd9f4dc83918 /ui/aura/window.h
parent751459731324e2db0b5a04f205c2407ee1fb687d (diff)
downloadchromium_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.h3
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