Lines Matching refs:layer
16 #include "ui/compositor/layer.h"
43 // A LayerDelegate that paints an image for the layer.
74 // Called when the layer's device scale factor has changed.
90 // Responsible for fading out and deleting the layer of the overlay window.
94 // Takes ownership of the layer.
95 explicit OverlayDismissAnimator(scoped_ptr<ui::Layer> layer)
96 : layer_(layer.Pass()) {
100 // Starts the fadeout animation on the layer. When the animation finishes,
101 // the object deletes itself along with the layer.
194 // The layer to be animated by OverlayDismissAnimator
226 ui::Layer* layer = new ui::Layer(ui::LAYER_TEXTURED);
227 layer->set_delegate(layer_delegate_.get());
228 return layer;
263 scoped_ptr<ui::Layer> layer) {
272 window_->layer()->SetTransform(gfx::Transform());
276 // set the slider layer to be the one animated by OverlayDismissAnimator.
277 if (layer.get())
278 overlay_dismiss_layer_ = layer.Pass();