Chromium Code Reviews| 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( | 59 inline bool isFixedPositionObjectInPagedMedia(); |
| 60 const PaintLayerPaintingInfo&, | 60 void repeatFixedPositionObjectInPages(const PaintLayerPaintingInfo&, |
|
chrishtr
2017/01/03 18:53:10
The input for repeatFixedPositionObjectInPages mus
Xianzhu
2017/01/03 19:54:42
Done.
| |
| 61 PaintLayerFragments&); | 61 PaintLayerFragments&); |
| 62 | 62 |
| 63 PaintResult paintLayerContentsCompositingAllPhases( | 63 PaintResult paintLayerContentsCompositingAllPhases( |
| 64 GraphicsContext&, | 64 GraphicsContext&, |
| 65 const PaintLayerPaintingInfo&, | 65 const PaintLayerPaintingInfo&, |
| 66 PaintLayerFlags, | 66 PaintLayerFlags, |
| 67 FragmentPolicy = AllowMultipleFragments); | 67 FragmentPolicy = AllowMultipleFragments); |
| 68 PaintResult paintLayerWithTransform(GraphicsContext&, | 68 PaintResult paintLayerWithTransform(GraphicsContext&, |
| 69 const PaintLayerPaintingInfo&, | 69 const PaintLayerPaintingInfo&, |
| 70 PaintLayerFlags); | 70 PaintLayerFlags); |
| 71 PaintResult paintFragmentByApplyingTransform( | 71 PaintResult paintFragmentByApplyingTransform( |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 142 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, | 142 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, |
| 143 DontPaintWithTinyOpacityAndBackdropFilter); | 143 DontPaintWithTinyOpacityAndBackdropFilter); |
| 144 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, | 144 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, |
| 145 DoPaintWithCompositedTinyOpacity); | 145 DoPaintWithCompositedTinyOpacity); |
| 146 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, DoPaintWithNonTinyOpacity); | 146 FRIEND_TEST_ALL_PREFIXES(PaintLayerPainterTest, DoPaintWithNonTinyOpacity); |
| 147 }; | 147 }; |
| 148 | 148 |
| 149 } // namespace blink | 149 } // namespace blink |
| 150 | 150 |
| 151 #endif // PaintLayerPainter_h | 151 #endif // PaintLayerPainter_h |
| OLD | NEW |