| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 | 687 |
| 688 PaintProperties paint_properties_; | 688 PaintProperties paint_properties_; |
| 689 | 689 |
| 690 // These all act like draw properties, so don't need push properties. | 690 // These all act like draw properties, so don't need push properties. |
| 691 gfx::Rect visible_layer_rect_; | 691 gfx::Rect visible_layer_rect_; |
| 692 size_t num_unclipped_descendants_; | 692 size_t num_unclipped_descendants_; |
| 693 | 693 |
| 694 std::vector<FrameTimingRequest> frame_timing_requests_; | 694 std::vector<FrameTimingRequest> frame_timing_requests_; |
| 695 bool frame_timing_requests_dirty_; | 695 bool frame_timing_requests_dirty_; |
| 696 | 696 |
| 697 public: |
| 698 gfx::Vector2dF subpixel_offset_; |
| 699 |
| 697 DISALLOW_COPY_AND_ASSIGN(Layer); | 700 DISALLOW_COPY_AND_ASSIGN(Layer); |
| 698 }; | 701 }; |
| 699 | 702 |
| 700 } // namespace cc | 703 } // namespace cc |
| 701 | 704 |
| 702 #endif // CC_LAYERS_LAYER_H_ | 705 #endif // CC_LAYERS_LAYER_H_ |
| OLD | NEW |