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 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * Other contributors: | 6 * Other contributors: |
7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1093 void setCompositingReasons(CompositingReasons reasons) { m_compositingProper
ties.compositingReasons = reasons; } | 1093 void setCompositingReasons(CompositingReasons reasons) { m_compositingProper
ties.compositingReasons = reasons; } |
1094 CompositingReasons compositingReasons() const { return m_compositingProperti
es.compositingReasons; } | 1094 CompositingReasons compositingReasons() const { return m_compositingProperti
es.compositingReasons; } |
1095 | 1095 |
1096 // Returns true if z ordering would not change if this layer were a stacking
container. | 1096 // Returns true if z ordering would not change if this layer were a stacking
container. |
1097 bool canBeStackingContainer() const; | 1097 bool canBeStackingContainer() const; |
1098 | 1098 |
1099 friend class RenderLayerBacking; | 1099 friend class RenderLayerBacking; |
1100 friend class RenderLayerCompositor; | 1100 friend class RenderLayerCompositor; |
1101 friend class RenderLayerModelObject; | 1101 friend class RenderLayerModelObject; |
1102 | 1102 |
1103 // Only safe to call from RenderBoxModelObject::destroyLayer(RenderArena*) | 1103 // Only safe to call from RenderLayerModelObject::destroyLayer(RenderArena*) |
1104 void destroy(RenderArena*); | 1104 void destroy(RenderArena*); |
1105 | 1105 |
1106 LayoutUnit overflowTop() const; | 1106 LayoutUnit overflowTop() const; |
1107 LayoutUnit overflowBottom() const; | 1107 LayoutUnit overflowBottom() const; |
1108 LayoutUnit overflowLeft() const; | 1108 LayoutUnit overflowLeft() const; |
1109 LayoutUnit overflowRight() const; | 1109 LayoutUnit overflowRight() const; |
1110 | 1110 |
1111 IntRect rectForHorizontalScrollbar(const IntRect& borderBoxRect) const; | 1111 IntRect rectForHorizontalScrollbar(const IntRect& borderBoxRect) const; |
1112 IntRect rectForVerticalScrollbar(const IntRect& borderBoxRect) const; | 1112 IntRect rectForVerticalScrollbar(const IntRect& borderBoxRect) const; |
1113 | 1113 |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1321 | 1321 |
1322 } // namespace WebCore | 1322 } // namespace WebCore |
1323 | 1323 |
1324 #ifndef NDEBUG | 1324 #ifndef NDEBUG |
1325 // Outside the WebCore namespace for ease of invocation from gdb. | 1325 // Outside the WebCore namespace for ease of invocation from gdb. |
1326 void showLayerTree(const WebCore::RenderLayer*); | 1326 void showLayerTree(const WebCore::RenderLayer*); |
1327 void showLayerTree(const WebCore::RenderObject*); | 1327 void showLayerTree(const WebCore::RenderObject*); |
1328 #endif | 1328 #endif |
1329 | 1329 |
1330 #endif // RenderLayer_h | 1330 #endif // RenderLayer_h |
OLD | NEW |