OLD | NEW |
1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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_H_ | 5 #ifndef CC_LAYERS_LAYER_H_ |
6 #define CC_LAYERS_LAYER_H_ | 6 #define CC_LAYERS_LAYER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 Region non_fast_scrollable_region_; | 611 Region non_fast_scrollable_region_; |
612 Region touch_event_handler_region_; | 612 Region touch_event_handler_region_; |
613 gfx::PointF position_; | 613 gfx::PointF position_; |
614 SkColor background_color_; | 614 SkColor background_color_; |
615 float opacity_; | 615 float opacity_; |
616 SkXfermode::Mode blend_mode_; | 616 SkXfermode::Mode blend_mode_; |
617 FilterOperations filters_; | 617 FilterOperations filters_; |
618 FilterOperations background_filters_; | 618 FilterOperations background_filters_; |
619 LayerPositionConstraint position_constraint_; | 619 LayerPositionConstraint position_constraint_; |
620 Layer* scroll_parent_; | 620 Layer* scroll_parent_; |
621 scoped_ptr<std::set<Layer*> > scroll_children_; | 621 scoped_ptr<std::set<Layer*>> scroll_children_; |
622 | 622 |
623 Layer* clip_parent_; | 623 Layer* clip_parent_; |
624 scoped_ptr<std::set<Layer*> > clip_children_; | 624 scoped_ptr<std::set<Layer*>> clip_children_; |
625 | 625 |
626 gfx::Transform transform_; | 626 gfx::Transform transform_; |
627 gfx::Point3F transform_origin_; | 627 gfx::Point3F transform_origin_; |
628 | 628 |
629 // Replica layer used for reflections. | 629 // Replica layer used for reflections. |
630 scoped_refptr<Layer> replica_layer_; | 630 scoped_refptr<Layer> replica_layer_; |
631 | 631 |
632 // Transient properties. | 632 // Transient properties. |
633 float raster_scale_; | 633 float raster_scale_; |
634 | 634 |
635 LayerClient* client_; | 635 LayerClient* client_; |
636 | 636 |
637 ScopedPtrVector<CopyOutputRequest> copy_requests_; | 637 ScopedPtrVector<CopyOutputRequest> copy_requests_; |
638 | 638 |
639 base::Closure did_scroll_callback_; | 639 base::Closure did_scroll_callback_; |
640 | 640 |
641 DrawProperties<Layer> draw_properties_; | 641 DrawProperties<Layer> draw_properties_; |
642 | 642 |
643 PaintProperties paint_properties_; | 643 PaintProperties paint_properties_; |
644 | 644 |
645 DISALLOW_COPY_AND_ASSIGN(Layer); | 645 DISALLOW_COPY_AND_ASSIGN(Layer); |
646 }; | 646 }; |
647 | 647 |
648 } // namespace cc | 648 } // namespace cc |
649 | 649 |
650 #endif // CC_LAYERS_LAYER_H_ | 650 #endif // CC_LAYERS_LAYER_H_ |
OLD | NEW |