| 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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); | 496 void setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); |
| 497 | 497 |
| 498 bool hasSelfPaintingLayerDescendant() const | 498 bool hasSelfPaintingLayerDescendant() const |
| 499 { | 499 { |
| 500 if (m_hasSelfPaintingLayerDescendantDirty) | 500 if (m_hasSelfPaintingLayerDescendantDirty) |
| 501 updateHasSelfPaintingLayerDescendant(); | 501 updateHasSelfPaintingLayerDescendant(); |
| 502 ASSERT(!m_hasSelfPaintingLayerDescendantDirty); | 502 ASSERT(!m_hasSelfPaintingLayerDescendantDirty); |
| 503 return m_hasSelfPaintingLayerDescendant; | 503 return m_hasSelfPaintingLayerDescendant; |
| 504 } | 504 } |
| 505 LayoutRect paintingExtent(const Layer* rootLayer, const LayoutRect& paintDir
tyRect, const LayoutSize& subPixelAccumulation, PaintBehavior); | 505 LayoutRect paintingExtent(const Layer* rootLayer, const LayoutRect& paintDir
tyRect, const LayoutSize& subPixelAccumulation, PaintBehavior); |
| 506 void appendSingleFragmentIgnoringPagination(LayerFragments&, const Layer* ro
otLayer, const LayoutRect& dirtyRect, ClipRectsCacheSlot, OverlayScrollbarSizeRe
levancy = IgnoreOverlayScrollbarSize, ShouldRespectOverflowClip = RespectOverflo
wClip, const LayoutPoint* offsetFromRoot = 0, const LayoutSize& subPixelAccumula
tion = LayoutSize()); |
| 506 void collectFragments(LayerFragments&, const Layer* rootLayer, const LayoutR
ect& dirtyRect, | 507 void collectFragments(LayerFragments&, const Layer* rootLayer, const LayoutR
ect& dirtyRect, |
| 507 ClipRectsCacheSlot, OverlayScrollbarSizeRelevancy inOverlayScrollbarSize
Relevancy = IgnoreOverlayScrollbarSize, | 508 ClipRectsCacheSlot, OverlayScrollbarSizeRelevancy inOverlayScrollbarSize
Relevancy = IgnoreOverlayScrollbarSize, |
| 508 ShouldRespectOverflowClip = RespectOverflowClip, const LayoutPoint* offs
etFromRoot = 0, | 509 ShouldRespectOverflowClip = RespectOverflowClip, const LayoutPoint* offs
etFromRoot = 0, |
| 509 const LayoutSize& subPixelAccumulation = LayoutSize(), const LayoutRect*
layerBoundingBox = 0); | 510 const LayoutSize& subPixelAccumulation = LayoutSize(), const LayoutRect*
layerBoundingBox = 0); |
| 510 | 511 |
| 511 LayoutPoint renderBoxLocation() const { return renderer()->isBox() ? toRende
rBox(renderer())->location() : LayoutPoint(); } | 512 LayoutPoint renderBoxLocation() const { return renderer()->isBox() ? toRende
rBox(renderer())->location() : LayoutPoint(); } |
| 512 | 513 |
| 513 enum TransparencyClipBoxBehavior { | 514 enum TransparencyClipBoxBehavior { |
| 514 PaintingTransparencyClipBox, | 515 PaintingTransparencyClipBox, |
| 515 HitTestingTransparencyClipBox | 516 HitTestingTransparencyClipBox |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 716 | 717 |
| 717 } // namespace blink | 718 } // namespace blink |
| 718 | 719 |
| 719 #ifndef NDEBUG | 720 #ifndef NDEBUG |
| 720 // Outside the WebCore namespace for ease of invocation from gdb. | 721 // Outside the WebCore namespace for ease of invocation from gdb. |
| 721 void showLayerTree(const blink::Layer*); | 722 void showLayerTree(const blink::Layer*); |
| 722 void showLayerTree(const blink::LayoutObject*); | 723 void showLayerTree(const blink::LayoutObject*); |
| 723 #endif | 724 #endif |
| 724 | 725 |
| 725 #endif // Layer_h | 726 #endif // Layer_h |
| OLD | NEW |