summaryrefslogtreecommitdiffstats
path: root/ui/aura/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura/window.h')
-rw-r--r--ui/aura/window.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ui/aura/window.h b/ui/aura/window.h
index 63f9ddd..2d182b9 100644
--- a/ui/aura/window.h
+++ b/ui/aura/window.h
@@ -397,6 +397,18 @@ class AURA_EXPORT Window : public ui::LayerDelegate,
// Called when this window's parent has changed.
void OnParentChanged();
+ // Populates |ancestors| with all transient ancestors of |window| that are
+ // children of |this|. Returns true if any ancestors were found, false if not.
+ bool GetAllTransientAncestors(Window* window, Windows* ancestors) const;
+
+ // Replaces two windows |window1| and |window2| with their possible transient
+ // ancestors that are still siblings (have a common transient parent).
+ // |window1| and |window2| are not modified if such ancestors cannot be found.
+ void FindCommonSiblings(Window** window1, Window** window2) const;
+
+ // Returns true when |ancestor| is a transient ancestor of |this|.
+ bool HasTransientAncestor(const Window* ancestor) const;
+
// Determines the real location for stacking |child| and invokes
// StackChildRelativeToImpl().
void StackChildRelativeTo(Window* child,