Home | History | Annotate | Download | only in compositor

Lines Matching refs:layer

17 void LayerOwner::SetLayer(Layer* layer) {
19 layer_owner_.reset(layer);
20 layer_ = layer;
24 scoped_ptr<Layer> LayerOwner::AcquireLayer() {
30 scoped_ptr<Layer> LayerOwner::RecreateLayer() {
31 scoped_ptr<ui::Layer> old_layer(AcquireLayer());
39 Layer* new_layer = new ui::Layer(old_layer->type());
49 // Install new layer as a sibling of the old layer, stacked below it.
55 // Migrate all the child layers over to the new layer. Copy the list because
57 std::vector<ui::Layer*> children_copy = old_layer->children();
58 for (std::vector<ui::Layer*>::const_iterator it = children_copy.begin();
61 ui::Layer* child = *it;
66 // state to the new layer.