summaryrefslogtreecommitdiffstats
path: root/ui/aura/window.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-31 20:33:47 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-31 20:33:47 +0000
commit33340706fa69996dccad58e93214be0996a7cfba (patch)
tree1c305cfbfce512bc5444df0ea9a1bbe5b142c7a5 /ui/aura/window.h
parent6328bea86571399d38c86e21e941632abb17843d (diff)
downloadchromium_src-33340706fa69996dccad58e93214be0996a7cfba.zip
chromium_src-33340706fa69996dccad58e93214be0996a7cfba.tar.gz
chromium_src-33340706fa69996dccad58e93214be0996a7cfba.tar.bz2
Makes DefaultContainerLayoutManager ignore windows with transient
parents. This is needed otherwise the worskpace code tries to place and position bubbles and other transient type windows. BUG=none TEST=none R=ben@chromium.org,oshima@chromium.org Review URL: http://codereview.chromium.org/8414035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108006 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window.h')
-rw-r--r--ui/aura/window.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 2554716..8a9b030 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -182,6 +182,11 @@ class AURA_EXPORT Window : public ui::LayerDelegate {
void AddTransientChild(Window* child);
void RemoveTransientChild(Window* child);
+ const Windows& transient_children() const { return transient_children_; }
+
+ Window* transient_parent() { return transient_parent_; }
+ const Window* transient_parent() const { return transient_parent_; }
+
// Retrieves the first-level child with the specified id, or NULL if no first-
// level child is found matching |id|.
Window* GetChildById(int id);