| 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 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 bool updateLayerPosition(); | 509 bool updateLayerPosition(); |
| 510 | 510 |
| 511 enum UpdateLayerPositionsAfterScrollFlag { | 511 enum UpdateLayerPositionsAfterScrollFlag { |
| 512 NoFlag = 0, | 512 NoFlag = 0, |
| 513 IsOverflowScroll = 1 << 0, | 513 IsOverflowScroll = 1 << 0, |
| 514 HasSeenViewportConstrainedAncestor = 1 << 1, | 514 HasSeenViewportConstrainedAncestor = 1 << 1, |
| 515 HasSeenAncestorWithOverflowClip = 1 << 2, | 515 HasSeenAncestorWithOverflowClip = 1 << 2, |
| 516 HasChangedAncestor = 1 << 3 | 516 HasChangedAncestor = 1 << 3 |
| 517 }; | 517 }; |
| 518 typedef unsigned UpdateLayerPositionsAfterScrollFlags; | 518 typedef unsigned UpdateLayerPositionsAfterScrollFlags; |
| 519 void updateLayerPositionsAfterScroll(RenderGeometryMap*, UpdateLayerPosition
sAfterScrollFlags = NoFlag); | 519 void updateLayerPositionsAfterScroll(UpdateLayerPositionsAfterScrollFlags =
NoFlag); |
| 520 | 520 |
| 521 void setNextSibling(RenderLayer* next) { m_next = next; } | 521 void setNextSibling(RenderLayer* next) { m_next = next; } |
| 522 void setPreviousSibling(RenderLayer* prev) { m_previous = prev; } | 522 void setPreviousSibling(RenderLayer* prev) { m_previous = prev; } |
| 523 void setFirstChild(RenderLayer* first) { m_first = first; } | 523 void setFirstChild(RenderLayer* first) { m_first = first; } |
| 524 void setLastChild(RenderLayer* last) { m_last = last; } | 524 void setLastChild(RenderLayer* last) { m_last = last; } |
| 525 | 525 |
| 526 LayoutPoint renderBoxLocation() const { return renderer()->isBox() ? toRende
rBox(renderer())->location() : LayoutPoint(); } | 526 LayoutPoint renderBoxLocation() const { return renderer()->isBox() ? toRende
rBox(renderer())->location() : LayoutPoint(); } |
| 527 | 527 |
| 528 void paintLayerContentsAndReflection(GraphicsContext*, const LayerPaintingIn
fo&, PaintLayerFlags); | 528 void paintLayerContentsAndReflection(GraphicsContext*, const LayerPaintingIn
fo&, PaintLayerFlags); |
| 529 void paintLayerByApplyingTransform(GraphicsContext*, const LayerPaintingInfo
&, PaintLayerFlags, const LayoutPoint& translationOffset = LayoutPoint()); | 529 void paintLayerByApplyingTransform(GraphicsContext*, const LayerPaintingInfo
&, PaintLayerFlags, const LayoutPoint& translationOffset = LayoutPoint()); |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 723 | 723 |
| 724 } // namespace WebCore | 724 } // namespace WebCore |
| 725 | 725 |
| 726 #ifndef NDEBUG | 726 #ifndef NDEBUG |
| 727 // Outside the WebCore namespace for ease of invocation from gdb. | 727 // Outside the WebCore namespace for ease of invocation from gdb. |
| 728 void showLayerTree(const WebCore::RenderLayer*); | 728 void showLayerTree(const WebCore::RenderLayer*); |
| 729 void showLayerTree(const WebCore::RenderObject*); | 729 void showLayerTree(const WebCore::RenderObject*); |
| 730 #endif | 730 #endif |
| 731 | 731 |
| 732 #endif // RenderLayer_h | 732 #endif // RenderLayer_h |
| OLD | NEW |