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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
624 bool layer_property_changed_ : 1; | 624 bool layer_property_changed_ : 1; |
625 | 625 |
626 bool masks_to_bounds_ : 1; | 626 bool masks_to_bounds_ : 1; |
627 bool contents_opaque_ : 1; | 627 bool contents_opaque_ : 1; |
628 bool is_root_for_isolated_group_ : 1; | 628 bool is_root_for_isolated_group_ : 1; |
629 bool use_parent_backface_visibility_ : 1; | 629 bool use_parent_backface_visibility_ : 1; |
630 bool draw_checkerboard_for_missing_tiles_ : 1; | 630 bool draw_checkerboard_for_missing_tiles_ : 1; |
631 bool draws_content_ : 1; | 631 bool draws_content_ : 1; |
632 bool hide_layer_and_subtree_ : 1; | 632 bool hide_layer_and_subtree_ : 1; |
633 bool force_render_surface_ : 1; | 633 bool force_render_surface_ : 1; |
634 bool delay_scrollbar_animation_ : 1; | |
aelias_OOO_until_Jul13
2014/09/29 19:33:46
Please avoid adding a member variable for transien
MuVen
2014/09/30 12:50:26
Done.
| |
634 | 635 |
635 // Cache transform_'s invertibility. | 636 // Cache transform_'s invertibility. |
636 bool transform_is_invertible_ : 1; | 637 bool transform_is_invertible_ : 1; |
637 | 638 |
638 // Set for the layer that other layers are fixed to. | 639 // Set for the layer that other layers are fixed to. |
639 bool is_container_for_fixed_position_layers_ : 1; | 640 bool is_container_for_fixed_position_layers_ : 1; |
640 Region non_fast_scrollable_region_; | 641 Region non_fast_scrollable_region_; |
641 Region touch_event_handler_region_; | 642 Region touch_event_handler_region_; |
642 SkColor background_color_; | 643 SkColor background_color_; |
643 | 644 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
704 DrawProperties<LayerImpl> draw_properties_; | 705 DrawProperties<LayerImpl> draw_properties_; |
705 | 706 |
706 scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_; | 707 scoped_refptr<base::debug::ConvertableToTraceFormat> debug_info_; |
707 | 708 |
708 DISALLOW_COPY_AND_ASSIGN(LayerImpl); | 709 DISALLOW_COPY_AND_ASSIGN(LayerImpl); |
709 }; | 710 }; |
710 | 711 |
711 } // namespace cc | 712 } // namespace cc |
712 | 713 |
713 #endif // CC_LAYERS_LAYER_IMPL_H_ | 714 #endif // CC_LAYERS_LAYER_IMPL_H_ |
OLD | NEW |