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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 int clip_tree_index_; | 532 int clip_tree_index_; |
533 int scroll_tree_index_; | 533 int scroll_tree_index_; |
534 | 534 |
535 protected: | 535 protected: |
536 friend class TreeSynchronizer; | 536 friend class TreeSynchronizer; |
537 | 537 |
538 DrawMode current_draw_mode_; | 538 DrawMode current_draw_mode_; |
539 | 539 |
540 private: | 540 private: |
541 PropertyTrees* GetPropertyTrees() const; | 541 PropertyTrees* GetPropertyTrees() const; |
| 542 ClipTree& GetClipTree() const; |
542 EffectTree& GetEffectTree() const; | 543 EffectTree& GetEffectTree() const; |
543 ScrollTree& GetScrollTree() const; | 544 ScrollTree& GetScrollTree() const; |
544 TransformTree& GetTransformTree() const; | 545 TransformTree& GetTransformTree() const; |
545 | 546 |
546 ElementId element_id_; | 547 ElementId element_id_; |
547 uint32_t mutable_properties_; | 548 uint32_t mutable_properties_; |
548 // Rect indicating what was repainted/updated during update. | 549 // Rect indicating what was repainted/updated during update. |
549 // Note that plugin layers bypass this and leave it empty. | 550 // Note that plugin layers bypass this and leave it empty. |
550 // This is in the layer's space. | 551 // This is in the layer's space. |
551 gfx::Rect update_rect_; | 552 gfx::Rect update_rect_; |
(...skipping 16 matching lines...) Expand all Loading... |
568 bool has_will_change_transform_hint_ : 1; | 569 bool has_will_change_transform_hint_ : 1; |
569 bool needs_push_properties_ : 1; | 570 bool needs_push_properties_ : 1; |
570 bool scrollbars_hidden_ : 1; | 571 bool scrollbars_hidden_ : 1; |
571 | 572 |
572 DISALLOW_COPY_AND_ASSIGN(LayerImpl); | 573 DISALLOW_COPY_AND_ASSIGN(LayerImpl); |
573 }; | 574 }; |
574 | 575 |
575 } // namespace cc | 576 } // namespace cc |
576 | 577 |
577 #endif // CC_LAYERS_LAYER_IMPL_H_ | 578 #endif // CC_LAYERS_LAYER_IMPL_H_ |
OLD | NEW |