OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
oshima
2014/03/19 18:12:44
nit: nuke (c). same for other files.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef UI_COMPOSITOR_CLONE_LAYER_H_ | |
6 #define UI_COMPOSITOR_CLONE_LAYER_H_ | |
7 | |
8 #include "base/memory/scoped_ptr.h" | |
9 #include "ui/compositor/compositor_export.h" | |
10 | |
11 namespace ui { | |
12 | |
13 class Layer; | |
14 class LayerOwner; | |
15 | |
16 // Creates a new Layer for |layer_owner| returning the old. This does NOT | |
17 // recurse. All the existing children of the layer are moved to the new layer. | |
18 // This does nothing if |layer_owner| currently has no layer. | |
19 COMPOSITOR_EXPORT scoped_ptr<ui::Layer> CloneLayer(LayerOwner* layer_owner); | |
20 | |
21 } // namespace ui | |
oshima
2014/03/19 18:12:44
ditto
| |
22 | |
23 #endif // UI_COMPOSITOR_CLONE_LAYER_H_ | |
OLD | NEW |