| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef PaintLayerPainter_h | 5 #ifndef PaintLayerPainter_h |
| 6 #define PaintLayerPainter_h | 6 #define PaintLayerPainter_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/paint/PaintLayerFragment.h" | 9 #include "core/paint/PaintLayerFragment.h" |
| 10 #include "core/paint/PaintLayerPaintingInfo.h" | 10 #include "core/paint/PaintLayerPaintingInfo.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 PaintLayerFlags, | 49 PaintLayerFlags, |
| 50 FragmentPolicy = AllowMultipleFragments); | 50 FragmentPolicy = AllowMultipleFragments); |
| 51 | 51 |
| 52 void paintOverlayScrollbars(GraphicsContext&, | 52 void paintOverlayScrollbars(GraphicsContext&, |
| 53 const LayoutRect& damageRect, | 53 const LayoutRect& damageRect, |
| 54 const GlobalPaintFlags); | 54 const GlobalPaintFlags); |
| 55 | 55 |
| 56 private: | 56 private: |
| 57 enum ClipState { HasNotClipped, HasClipped }; | 57 enum ClipState { HasNotClipped, HasClipped }; |
| 58 | 58 |
| 59 bool collectPaintFragmentsForPaginatedFixedPosition( |
| 60 const PaintLayerPaintingInfo&, |
| 61 PaintLayerFragments&); |
| 62 |
| 59 PaintResult paintLayerContentsCompositingAllPhases( | 63 PaintResult paintLayerContentsCompositingAllPhases( |
| 60 GraphicsContext&, | 64 GraphicsContext&, |
| 61 const PaintLayerPaintingInfo&, | 65 const PaintLayerPaintingInfo&, |
| 62 PaintLayerFlags, | 66 PaintLayerFlags, |
| 63 FragmentPolicy = AllowMultipleFragments); | 67 FragmentPolicy = AllowMultipleFragments); |
| 64 PaintResult paintLayerWithTransform(GraphicsContext&, | 68 PaintResult paintLayerWithTransform(GraphicsContext&, |
| 65 const PaintLayerPaintingInfo&, | 69 const PaintLayerPaintingInfo&, |
| 66 PaintLayerFlags); | 70 PaintLayerFlags); |
| 67 PaintResult paintFragmentByApplyingTransform( | 71 PaintResult paintFragmentByApplyingTransform( |
| 68 GraphicsContext&, | 72 GraphicsContext&, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, | 142 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, |
| 139 DontPaintWithTinyOpacityAndBackdropFilter); | 143 DontPaintWithTinyOpacityAndBackdropFilter); |
| 140 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, | 144 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, |
| 141 DoPaintWithCompositedTinyOpacity); | 145 DoPaintWithCompositedTinyOpacity); |
| 142 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, DoPaintWithNonTinyOpacity); | 146 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, DoPaintWithNonTinyOpacity); |
| 143 }; | 147 }; |
| 144 | 148 |
| 145 } // namespace blink | 149 } // namespace blink |
| 146 | 150 |
| 147 #endif // PaintLayerPainter_h | 151 #endif // PaintLayerPainter_h |
| OLD | NEW |