athena/screen/screen_manager_impl.cc
aura::Window* GetContainer(aura::Window* window) {
  // No containers for NULL or the root window itself.
  if (!window || !window->parent())
    return NULL;
  if (window->parent()->IsRootWindow())
    return window;
  return GetContainer(window->parent());
}
// Returns the container which contains |window|.
Returns the container which contains |window|.
Returns the container which contains |window| .
aura::Window* GetContainer(aura::Window* window) {
  if (!window || !window->parent())
    return NULL;
  if (window->parent()->IsRootWindow())
    return window;
  return GetContainer(window->parent());
}
aura :: Window * GetContainer ( aura :: Window * window ) { if ( ! window || ! window -> parent ( ) ) return NULL ; if ( window -> parent ( ) -> IsRootWindow ( ) ) return window ; return GetContainer ( window -> parent ( ) ) ; }
Returns the container which contains |window|.
Returns the container which contains |window| .
// No containers for NULL or the root window itself.