| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "core/paint/PaintLayerScrollableArea.h" | 54 #include "core/paint/PaintLayerScrollableArea.h" |
| 55 #include "core/paint/PaintLayerStackingNode.h" | 55 #include "core/paint/PaintLayerStackingNode.h" |
| 56 #include "core/paint/PaintLayerStackingNodeIterator.h" | 56 #include "core/paint/PaintLayerStackingNodeIterator.h" |
| 57 #include "platform/graphics/CompositingReasons.h" | 57 #include "platform/graphics/CompositingReasons.h" |
| 58 #include "public/platform/WebBlendMode.h" | 58 #include "public/platform/WebBlendMode.h" |
| 59 #include "wtf/Allocator.h" | 59 #include "wtf/Allocator.h" |
| 60 #include "wtf/OwnPtr.h" | 60 #include "wtf/OwnPtr.h" |
| 61 | 61 |
| 62 namespace blink { | 62 namespace blink { |
| 63 | 63 |
| 64 class CompositedLayerMapping; |
| 65 class ComputedStyle; |
| 64 class FilterEffectBuilder; | 66 class FilterEffectBuilder; |
| 65 class FilterOperations; | 67 class FilterOperations; |
| 66 class HitTestRequest; | 68 class HitTestRequest; |
| 67 class HitTestResult; | 69 class HitTestResult; |
| 68 class HitTestingTransformState; | 70 class HitTestingTransformState; |
| 69 class PaintLayerCompositor; | 71 class PaintLayerCompositor; |
| 70 class CompositedLayerMapping; | 72 class PaintTiming; |
| 71 class ComputedStyle; | |
| 72 class TransformationMatrix; | 73 class TransformationMatrix; |
| 73 | 74 |
| 74 enum IncludeSelfOrNot { IncludeSelf, ExcludeSelf }; | 75 enum IncludeSelfOrNot { IncludeSelf, ExcludeSelf }; |
| 75 | 76 |
| 76 enum CompositingQueryMode { | 77 enum CompositingQueryMode { |
| 77 CompositingQueriesAreAllowed, | 78 CompositingQueriesAreAllowed, |
| 78 CompositingQueriesAreOnlyAllowedInCertainDocumentLifecyclePhases | 79 CompositingQueriesAreOnlyAllowedInCertainDocumentLifecyclePhases |
| 79 }; | 80 }; |
| 80 | 81 |
| 81 // FIXME: remove this once the compositing query ASSERTS are no longer hit. | 82 // FIXME: remove this once the compositing query ASSERTS are no longer hit. |
| (...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 612 bool needsRepaint() const { return m_needsRepaint; } | 613 bool needsRepaint() const { return m_needsRepaint; } |
| 613 void setNeedsRepaint(); | 614 void setNeedsRepaint(); |
| 614 void clearNeedsRepaintRecursively(); | 615 void clearNeedsRepaintRecursively(); |
| 615 | 616 |
| 616 IntSize previousScrollOffsetAccumulationForPainting() const { return m_previ
ousScrollOffsetAccumulationForPainting; } | 617 IntSize previousScrollOffsetAccumulationForPainting() const { return m_previ
ousScrollOffsetAccumulationForPainting; } |
| 617 void setPreviousScrollOffsetAccumulationForPainting(const IntSize& s) { m_pr
eviousScrollOffsetAccumulationForPainting = s; } | 618 void setPreviousScrollOffsetAccumulationForPainting(const IntSize& s) { m_pr
eviousScrollOffsetAccumulationForPainting = s; } |
| 618 | 619 |
| 619 // For subsequence display items. | 620 // For subsequence display items. |
| 620 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi
s); } | 621 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi
s); } |
| 621 | 622 |
| 623 PaintTiming* paintTiming(); |
| 624 |
| 622 private: | 625 private: |
| 623 // Bounding box in the coordinates of this layer. | 626 // Bounding box in the coordinates of this layer. |
| 624 LayoutRect logicalBoundingBox() const; | 627 LayoutRect logicalBoundingBox() const; |
| 625 | 628 |
| 626 bool hasOverflowControls() const; | 629 bool hasOverflowControls() const; |
| 627 | 630 |
| 628 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); | 631 void dirtyAncestorChainHasSelfPaintingLayerDescendantStatus(); |
| 629 | 632 |
| 630 // Returns true if the position changed. | 633 // Returns true if the position changed. |
| 631 bool updateLayerPosition(); | 634 bool updateLayerPosition(); |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 | 813 |
| 811 } // namespace blink | 814 } // namespace blink |
| 812 | 815 |
| 813 #ifndef NDEBUG | 816 #ifndef NDEBUG |
| 814 // Outside the WebCore namespace for ease of invocation from gdb. | 817 // Outside the WebCore namespace for ease of invocation from gdb. |
| 815 void showLayerTree(const blink::PaintLayer*); | 818 void showLayerTree(const blink::PaintLayer*); |
| 816 void showLayerTree(const blink::LayoutObject*); | 819 void showLayerTree(const blink::LayoutObject*); |
| 817 #endif | 820 #endif |
| 818 | 821 |
| 819 #endif // Layer_h | 822 #endif // Layer_h |
| OLD | NEW |