Lines Matching defs:LayerImpl

72 class CC_EXPORT LayerImpl : public LayerAnimationValueObserver,
91 static scoped_ptr<LayerImpl> Create(LayerTreeImpl* tree_impl, int id) {
92 return make_scoped_ptr(new LayerImpl(tree_impl, id));
95 virtual ~LayerImpl();
120 LayerImpl* parent() { return parent_; }
121 const LayerImpl* parent() const { return parent_; }
124 LayerImpl* child_at(size_t index) const { return children_[index]; }
125 void AddChild(scoped_ptr<LayerImpl> child);
126 scoped_ptr<LayerImpl> RemoveChild(LayerImpl* child);
127 void SetParent(LayerImpl* parent);
132 bool HasAncestor(const LayerImpl* ancestor) const;
134 void SetScrollParent(LayerImpl* parent);
136 LayerImpl* scroll_parent() { return scroll_parent_; }
137 const LayerImpl* scroll_parent() const { return scroll_parent_; }
139 void SetScrollChildren(std::set<LayerImpl*>* children);
141 std::set<LayerImpl*>* scroll_children() { return scroll_children_.get(); }
142 const std::set<LayerImpl*>* scroll_children() const {
147 void SetClipParent(LayerImpl* ancestor);
149 LayerImpl* clip_parent() {
152 const LayerImpl* clip_parent() const {
156 void SetClipChildren(std::set<LayerImpl*>* children);
158 std::set<LayerImpl*>* clip_children() { return clip_children_.get(); }
159 const std::set<LayerImpl*>* clip_children() const {
169 void SetMaskLayer(scoped_ptr<LayerImpl> mask_layer);
170 LayerImpl* mask_layer() { return mask_layer_.get(); }
171 const LayerImpl* mask_layer() const { return mask_layer_.get(); }
172 scoped_ptr<LayerImpl> TakeMaskLayer();
174 void SetReplicaLayer(scoped_ptr<LayerImpl> replica_layer);
175 LayerImpl* replica_layer() { return replica_layer_.get(); }
176 const LayerImpl* replica_layer() const { return replica_layer_.get(); }
177 scoped_ptr<LayerImpl> TakeReplicaLayer();
197 const OcclusionTracker<LayerImpl>& occlusion_tracker,
307 DrawProperties<LayerImpl>& draw_properties() {
310 const DrawProperties<LayerImpl>& draw_properties() const {
344 LayerImpl* render_target() {
349 const LayerImpl* render_target() const {
362 // contents scale to appropriate values. LayerImpl doesn't calculate any of
388 LayerImpl* scrollbar_clip_layer) const;
402 LayerImpl* scroll_clip_layer() const { return scroll_clip_layer_; }
524 virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl);
525 virtual void PushPropertiesTo(LayerImpl* layer);
555 LayerImpl(LayerTreeImpl* layer_impl, int id);
582 // Properties internal to LayerImpl
583 LayerImpl* parent_;
586 LayerImpl* scroll_parent_;
590 // the scroll parent above) be stored in a LayerImpl -> scroll_info
592 scoped_ptr<std::set<LayerImpl*> > scroll_children_;
594 LayerImpl* clip_parent_;
595 scoped_ptr<std::set<LayerImpl*> > clip_children_;
600 scoped_ptr<LayerImpl> mask_layer_;
602 scoped_ptr<LayerImpl> replica_layer_;
612 LayerImpl* scroll_clip_layer_;
705 DrawProperties<LayerImpl> draw_properties_;
709 DISALLOW_COPY_AND_ASSIGN(LayerImpl);