| Index: trunk/src/ui/aura/window.cc
|
| ===================================================================
|
| --- trunk/src/ui/aura/window.cc (revision 203401)
|
| +++ trunk/src/ui/aura/window.cc (working copy)
|
| @@ -340,6 +340,12 @@
|
| StackChildRelativeTo(child, target, STACK_ABOVE);
|
| }
|
|
|
| +void Window::StackChildAtBottom(Window* child) {
|
| + if (children_.size() <= 1 || child == children_.front())
|
| + return; // At the bottom already.
|
| + StackChildBelow(child, children_.front());
|
| +}
|
| +
|
| void Window::StackChildBelow(Window* child, Window* target) {
|
| StackChildRelativeTo(child, target, STACK_BELOW);
|
| }
|
|
|