| Index: mojo/services/view_manager/node.cc
|
| diff --git a/mojo/services/view_manager/node.cc b/mojo/services/view_manager/node.cc
|
| index 208c9c76fa5c61b1efd6a74df561788c8c8d27f8..cbdd16d712baeb20d7b8bf4c26736acf14c880ad 100644
|
| --- a/mojo/services/view_manager/node.cc
|
| +++ b/mojo/services/view_manager/node.cc
|
| @@ -58,6 +58,13 @@ void Node::Remove(Node* child) {
|
| window_.RemoveChild(&child->window_);
|
| }
|
|
|
| +void Node::Reorder(Node* child, Node* relative, OrderDirection direction) {
|
| + if (direction == ORDER_ABOVE)
|
| + window_.StackChildAbove(child->window(), relative->window());
|
| + else if (direction == ORDER_BELOW)
|
| + window_.StackChildBelow(child->window(), relative->window());
|
| +}
|
| +
|
| const Node* Node::GetRoot() const {
|
| const aura::Window* window = &window_;
|
| while (window && window->parent())
|
|
|