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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 IntSize size() const; | 134 IntSize size() const; |
135 | 135 |
136 LayoutRect rect() const { return LayoutRect(location(), LayoutSize(size()));
} | 136 LayoutRect rect() const { return LayoutRect(location(), LayoutSize(size()));
} |
137 | 137 |
138 bool isRootLayer() const { return m_isRootLayer; } | 138 bool isRootLayer() const { return m_isRootLayer; } |
139 | 139 |
140 RenderLayerCompositor* compositor() const; | 140 RenderLayerCompositor* compositor() const; |
141 | 141 |
142 // Notification from the renderer that its content changed (e.g. current fra
me of image changed). | 142 // Notification from the renderer that its content changed (e.g. current fra
me of image changed). |
143 // Allows updates of layer content without invalidating paint. | 143 // Allows updates of layer content without invalidating paint. |
144 void contentChanged(ContentChangeType); | 144 void contentChanged(ContentChangeType, const IntRect&); |
145 | 145 |
146 void updateLayerPositionsAfterLayout(); | 146 void updateLayerPositionsAfterLayout(); |
147 | 147 |
148 bool isPaginated() const { return m_isPaginated; } | 148 bool isPaginated() const { return m_isPaginated; } |
149 RenderLayer* enclosingPaginationLayer() const { return m_enclosingPagination
Layer; } | 149 RenderLayer* enclosingPaginationLayer() const { return m_enclosingPagination
Layer; } |
150 | 150 |
151 void updateTransformationMatrix(); | 151 void updateTransformationMatrix(); |
152 RenderLayer* renderingContextRoot(); | 152 RenderLayer* renderingContextRoot(); |
153 | 153 |
154 // Our current relative position offset. | 154 // Our current relative position offset. |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 | 682 |
683 } // namespace blink | 683 } // namespace blink |
684 | 684 |
685 #ifndef NDEBUG | 685 #ifndef NDEBUG |
686 // Outside the WebCore namespace for ease of invocation from gdb. | 686 // Outside the WebCore namespace for ease of invocation from gdb. |
687 void showLayerTree(const blink::RenderLayer*); | 687 void showLayerTree(const blink::RenderLayer*); |
688 void showLayerTree(const blink::RenderObject*); | 688 void showLayerTree(const blink::RenderObject*); |
689 #endif | 689 #endif |
690 | 690 |
691 #endif // RenderLayer_h | 691 #endif // RenderLayer_h |
OLD | NEW |