| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 6 * | 6 * |
| 7 * Other contributors: | 7 * Other contributors: |
| 8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
| 10 * Christian Biesinger <cbiesinger@web.de> | 10 * Christian Biesinger <cbiesinger@web.de> |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 : root_layer(in_root_layer), | 89 : root_layer(in_root_layer), |
| 90 paint_dirty_rect(in_dirty_rect), | 90 paint_dirty_rect(in_dirty_rect), |
| 91 sub_pixel_accumulation(in_sub_pixel_accumulation), | 91 sub_pixel_accumulation(in_sub_pixel_accumulation), |
| 92 clip_to_dirty_rect(true), | 92 clip_to_dirty_rect(true), |
| 93 ancestor_has_clip_path_clipping(false), | 93 ancestor_has_clip_path_clipping(false), |
| 94 global_paint_flags_(global_paint_flags) {} | 94 global_paint_flags_(global_paint_flags) {} |
| 95 | 95 |
| 96 GlobalPaintFlags GetGlobalPaintFlags() const { return global_paint_flags_; } | 96 GlobalPaintFlags GetGlobalPaintFlags() const { return global_paint_flags_; } |
| 97 | 97 |
| 98 // TODO(jchaffraix): We should encapsulate all these fields. | 98 // TODO(jchaffraix): We should encapsulate all these fields. |
| 99 PaintLayer* root_layer; | 99 const PaintLayer* root_layer; |
| 100 LayoutRect paint_dirty_rect; // relative to rootLayer; | 100 LayoutRect paint_dirty_rect; // relative to rootLayer; |
| 101 LayoutSize sub_pixel_accumulation; | 101 LayoutSize sub_pixel_accumulation; |
| 102 IntSize scroll_offset_accumulation; | 102 IntSize scroll_offset_accumulation; |
| 103 bool clip_to_dirty_rect; | 103 bool clip_to_dirty_rect; |
| 104 bool ancestor_has_clip_path_clipping; | 104 bool ancestor_has_clip_path_clipping; |
| 105 | 105 |
| 106 private: | 106 private: |
| 107 const GlobalPaintFlags global_paint_flags_; | 107 const GlobalPaintFlags global_paint_flags_; |
| 108 }; | 108 }; |
| 109 | 109 |
| 110 } // namespace blink | 110 } // namespace blink |
| 111 | 111 |
| 112 #endif // PaintLayerPaintingInfo_h | 112 #endif // PaintLayerPaintingInfo_h |
| OLD | NEW |