Index: ui/aura/window.h |
diff --git a/ui/aura/window.h b/ui/aura/window.h |
index 9e1f05f972ad8a6ee824148c4bb2035356b04a6e..8aa38fdf68cb201937b17e35b62f760c2dcc4bda 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 |