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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 | 149 |
150 RenderLayerCompositor* compositor() const; | 150 RenderLayerCompositor* compositor() const; |
151 | 151 |
152 // Notification from the renderer that its content changed (e.g. current fra
me of image changed). | 152 // Notification from the renderer that its content changed (e.g. current fra
me of image changed). |
153 // Allows updates of layer content without invalidating paint. | 153 // Allows updates of layer content without invalidating paint. |
154 void contentChanged(ContentChangeType); | 154 void contentChanged(ContentChangeType); |
155 | 155 |
156 enum UpdateLayerPositionsFlag { | 156 enum UpdateLayerPositionsFlag { |
157 NeedsFullPaintInvalidationInBacking = 1 << 0, | 157 NeedsFullPaintInvalidationInBacking = 1 << 0, |
158 UpdatePagination = 1 << 1, | 158 UpdatePagination = 1 << 1, |
159 ForceMayNeedPaintInvalidation = 1 << 2, | |
160 }; | 159 }; |
161 typedef unsigned UpdateLayerPositionsFlags; | 160 typedef unsigned UpdateLayerPositionsFlags; |
162 | 161 |
163 void updateLayerPositionsAfterLayout(const RenderLayer* rootLayer, UpdateLay
erPositionsFlags); | 162 void updateLayerPositionsAfterLayout(const RenderLayer* rootLayer, UpdateLay
erPositionsFlags); |
164 void updateLayerPositionsAfterOverflowScroll(); | 163 void updateLayerPositionsAfterOverflowScroll(); |
165 | 164 |
166 // FIXME: Should updateLayerPositions be private? | 165 // FIXME: Should updateLayerPositions be private? |
167 void updateLayerPositionRecursive(UpdateLayerPositionsFlags = 0); | 166 void updateLayerPositionRecursive(UpdateLayerPositionsFlags = 0); |
168 | 167 |
169 bool isPaginated() const { return m_isPaginated; } | 168 bool isPaginated() const { return m_isPaginated; } |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 | 779 |
781 } // namespace blink | 780 } // namespace blink |
782 | 781 |
783 #ifndef NDEBUG | 782 #ifndef NDEBUG |
784 // Outside the WebCore namespace for ease of invocation from gdb. | 783 // Outside the WebCore namespace for ease of invocation from gdb. |
785 void showLayerTree(const blink::RenderLayer*); | 784 void showLayerTree(const blink::RenderLayer*); |
786 void showLayerTree(const blink::RenderObject*); | 785 void showLayerTree(const blink::RenderObject*); |
787 #endif | 786 #endif |
788 | 787 |
789 #endif // RenderLayer_h | 788 #endif // RenderLayer_h |
OLD | NEW |