Lines Matching refs:children_
81 while (!children_.empty()) {
82 Window* child = children_[0];
85 // Deleting the child so remove it from out children_ list.
86 DCHECK(std::find(children_.begin(), children_.end(), child) ==
87 children_.end());
305 for (Windows::const_iterator it = children_.begin();
306 it != children_.end();
360 if (children_.size() <= 1 || child == children_.back())
362 StackChildAbove(child, children_.back());
370 if (children_.size() <= 1 || child == children_.front())
372 StackChildBelow(child, children_.front());
389 DCHECK(std::find(children_.begin(), children_.end(), child) ==
390 children_.end());
397 children_.push_back(child);
463 for (i = children_.begin(); i != children_.end(); ++i) {
675 for (Windows::const_iterator it = children_.begin();
676 it != children_.end(); ++it) {
800 for (Windows::const_reverse_iterator it = children_.rbegin(),
801 rend = children_.rend();
846 Windows::iterator i = std::find(children_.begin(), children_.end(), child);
847 DCHECK(i != children_.end());
848 children_.erase(i);
869 std::find(children_.begin(), children_.end(), target) - children_.begin();
877 children_[final_target_i]->layer()->delegate() == NULL) {
885 Window* final_target = children_[final_target_i];
909 std::find(children_.begin(), children_.end(), child) - children_.begin();
911 std::find(children_.begin(), children_.end(), target) - children_.begin();
922 children_.erase(children_.begin() + child_i);
923 children_.insert(children_.begin() + dest_i, child);
952 for (Window::Windows::const_iterator it = children_.begin();
953 it != children_.end(); ++it) {
961 for (Window::Windows::const_iterator it = children_.begin();
962 it != children_.end(); ++it) {
988 for (Window::Windows::const_iterator it = children_.begin();
989 it != children_.end(); ++it) {
1048 for (Window::Windows::const_iterator it = children_.begin();
1049 it != children_.end(); ++it) {
1053 // |*it| was deleted, |it| is invalid and |children_| has changed.