| 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 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 890 const PaintLayer* rootLayer, | 890 const PaintLayer* rootLayer, |
| 891 TransparencyClipBoxBehavior transparencyBehavior, | 891 TransparencyClipBoxBehavior transparencyBehavior, |
| 892 TransparencyClipBoxMode transparencyMode, | 892 TransparencyClipBoxMode transparencyMode, |
| 893 const LayoutSize& subPixelAccumulation, | 893 const LayoutSize& subPixelAccumulation, |
| 894 GlobalPaintFlags = GlobalPaintNormalPhase); | 894 GlobalPaintFlags = GlobalPaintNormalPhase); |
| 895 | 895 |
| 896 bool needsRepaint() const { return m_needsRepaint; } | 896 bool needsRepaint() const { return m_needsRepaint; } |
| 897 void setNeedsRepaint(); | 897 void setNeedsRepaint(); |
| 898 void clearNeedsRepaintRecursively(); | 898 void clearNeedsRepaintRecursively(); |
| 899 | 899 |
| 900 ClientRectList* nonFastScrollableRects() const; |
| 901 |
| 900 // These previousXXX() functions are for subsequence caching. They save the | 902 // These previousXXX() functions are for subsequence caching. They save the |
| 901 // painting status of the layer during the previous painting with subsequence. | 903 // painting status of the layer during the previous painting with subsequence. |
| 902 // A painting without subsequence [1] doesn't change this status. [1] See | 904 // A painting without subsequence [1] doesn't change this status. [1] See |
| 903 // shouldCreateSubsequence() in PaintLayerPainter.cpp for the cases we use | 905 // shouldCreateSubsequence() in PaintLayerPainter.cpp for the cases we use |
| 904 // subsequence when painting a PaintLayer. | 906 // subsequence when painting a PaintLayer. |
| 905 | 907 |
| 906 IntSize previousScrollOffsetAccumulationForPainting() const { | 908 IntSize previousScrollOffsetAccumulationForPainting() const { |
| 907 return m_previousScrollOffsetAccumulationForPainting; | 909 return m_previousScrollOffsetAccumulationForPainting; |
| 908 } | 910 } |
| 909 void setPreviousScrollOffsetAccumulationForPainting(const IntSize& s) { | 911 void setPreviousScrollOffsetAccumulationForPainting(const IntSize& s) { |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1245 | 1247 |
| 1246 } // namespace blink | 1248 } // namespace blink |
| 1247 | 1249 |
| 1248 #ifndef NDEBUG | 1250 #ifndef NDEBUG |
| 1249 // Outside the WebCore namespace for ease of invocation from gdb. | 1251 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1250 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); | 1252 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); |
| 1251 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); | 1253 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); |
| 1252 #endif | 1254 #endif |
| 1253 | 1255 |
| 1254 #endif // Layer_h | 1256 #endif // Layer_h |
| OLD | NEW |