| Index: ui/gfx/compositor/layer.h
|
| diff --git a/ui/gfx/compositor/layer.h b/ui/gfx/compositor/layer.h
|
| index 1dbf3f9f39e738c1b58915ae6c7d906be3073dff..c4fec5a9add8b8243fa62405a94fe4a81827cad9 100644
|
| --- a/ui/gfx/compositor/layer.h
|
| +++ b/ui/gfx/compositor/layer.h
|
| @@ -69,12 +69,12 @@ class COMPOSITOR_EXPORT Layer :
|
| // Removes a Layer from this Layer.
|
| void Remove(Layer* child);
|
|
|
| - // Moves a child to the end of the child list.
|
| - void MoveToFront(Layer* child);
|
| + // Stacks |child| above all other children.
|
| + void StackAtTop(Layer* child);
|
|
|
| - // Moves |child| to be above |other|. Does nothing if |other| is already above
|
| - // |child|.
|
| - void MoveAbove(Layer* child, Layer* other);
|
| + // Stacks |child| above |other|, both of which must be children of this layer.
|
| + // Does nothing if |other| is already above |child|.
|
| + void StackAbove(Layer* child, Layer* other);
|
|
|
| // Returns the child Layers.
|
| const std::vector<Layer*>& children() const { return children_; }
|
|
|