OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CC_LAYERS_LAYER_IMPL_H_ | 5 #ifndef CC_LAYERS_LAYER_IMPL_H_ |
6 #define CC_LAYERS_LAYER_IMPL_H_ | 6 #define CC_LAYERS_LAYER_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
618 | 618 |
619 FilterOperations filters_; | 619 FilterOperations filters_; |
620 FilterOperations background_filters_; | 620 FilterOperations background_filters_; |
621 | 621 |
622 protected: | 622 protected: |
623 DrawMode current_draw_mode_; | 623 DrawMode current_draw_mode_; |
624 | 624 |
625 private: | 625 private: |
626 // Rect indicating what was repainted/updated during update. | 626 // Rect indicating what was repainted/updated during update. |
627 // Note that plugin layers bypass this and leave it empty. | 627 // Note that plugin layers bypass this and leave it empty. |
628 // Uses layer's content space. | 628 // Uses layer (not content) space. |
629 gfx::RectF update_rect_; | 629 gfx::RectF update_rect_; |
630 | 630 |
631 // Manages animations for this layer. | 631 // Manages animations for this layer. |
632 scoped_refptr<LayerAnimationController> layer_animation_controller_; | 632 scoped_refptr<LayerAnimationController> layer_animation_controller_; |
633 | 633 |
634 // Manages scrollbars for this layer | 634 // Manages scrollbars for this layer |
635 scoped_ptr<ScrollbarAnimationController> scrollbar_animation_controller_; | 635 scoped_ptr<ScrollbarAnimationController> scrollbar_animation_controller_; |
636 | 636 |
637 // Weak pointers to this layer's scrollbars, if it has them. Updated during | 637 // Weak pointers to this layer's scrollbars, if it has them. Updated during |
638 // tree synchronization. | 638 // tree synchronization. |
639 ScrollbarLayerImplBase* horizontal_scrollbar_layer_; | 639 ScrollbarLayerImplBase* horizontal_scrollbar_layer_; |
640 ScrollbarLayerImplBase* vertical_scrollbar_layer_; | 640 ScrollbarLayerImplBase* vertical_scrollbar_layer_; |
641 | 641 |
642 ScopedPtrVector<CopyOutputRequest> copy_requests_; | 642 ScopedPtrVector<CopyOutputRequest> copy_requests_; |
643 | 643 |
644 // Group of properties that need to be computed based on the layer tree | 644 // Group of properties that need to be computed based on the layer tree |
645 // hierarchy before layers can be drawn. | 645 // hierarchy before layers can be drawn. |
646 DrawProperties<LayerImpl> draw_properties_; | 646 DrawProperties<LayerImpl> draw_properties_; |
647 | 647 |
648 DISALLOW_COPY_AND_ASSIGN(LayerImpl); | 648 DISALLOW_COPY_AND_ASSIGN(LayerImpl); |
649 }; | 649 }; |
650 | 650 |
651 } // namespace cc | 651 } // namespace cc |
652 | 652 |
653 #endif // CC_LAYERS_LAYER_IMPL_H_ | 653 #endif // CC_LAYERS_LAYER_IMPL_H_ |
OLD | NEW |