| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 #include "sky/engine/core/rendering/PaintInfo.h" | 48 #include "sky/engine/core/rendering/PaintInfo.h" |
| 49 #include "sky/engine/platform/geometry/LayoutRect.h" | 49 #include "sky/engine/platform/geometry/LayoutRect.h" |
| 50 | 50 |
| 51 namespace blink { | 51 namespace blink { |
| 52 | 52 |
| 53 class RenderLayer; | 53 class RenderLayer; |
| 54 | 54 |
| 55 enum PaintLayerFlag { | 55 enum PaintLayerFlag { |
| 56 PaintLayerHaveTransparency = 1, | 56 PaintLayerHaveTransparency = 1, |
| 57 PaintLayerAppliedTransform = 1 << 1, | 57 PaintLayerAppliedTransform = 1 << 1, |
| 58 // FIXME(sky): This is unused. Remove it. |
| 58 PaintLayerUncachedClipRects = 1 << 2, | 59 PaintLayerUncachedClipRects = 1 << 2, |
| 59 PaintLayerPaintingOverlayScrollbars = 1 << 4, | 60 PaintLayerPaintingOverlayScrollbars = 1 << 4, |
| 60 PaintLayerPaintingCompositingBackgroundPhase = 1 << 5, | 61 PaintLayerPaintingCompositingBackgroundPhase = 1 << 5, |
| 61 PaintLayerPaintingCompositingForegroundPhase = 1 << 6, | 62 PaintLayerPaintingCompositingForegroundPhase = 1 << 6, |
| 62 PaintLayerPaintingCompositingMaskPhase = 1 << 7, | 63 PaintLayerPaintingCompositingMaskPhase = 1 << 7, |
| 63 PaintLayerPaintingCompositingScrollingPhase = 1 << 8, | 64 PaintLayerPaintingCompositingScrollingPhase = 1 << 8, |
| 64 PaintLayerPaintingOverflowContents = 1 << 9, | 65 PaintLayerPaintingOverflowContents = 1 << 9, |
| 65 PaintLayerPaintingRootBackgroundOnly = 1 << 10, | 66 PaintLayerPaintingRootBackgroundOnly = 1 << 10, |
| 66 PaintLayerPaintingSkipRootBackground = 1 << 11, | 67 PaintLayerPaintingSkipRootBackground = 1 << 11, |
| 67 PaintLayerPaintingChildClippingMaskPhase = 1 << 12, | 68 PaintLayerPaintingChildClippingMaskPhase = 1 << 12, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 85 RenderObject* paintingRoot; // only paint descendants of this object | 86 RenderObject* paintingRoot; // only paint descendants of this object |
| 86 LayoutRect paintDirtyRect; // relative to rootLayer; | 87 LayoutRect paintDirtyRect; // relative to rootLayer; |
| 87 LayoutSize subPixelAccumulation; | 88 LayoutSize subPixelAccumulation; |
| 88 PaintBehavior paintBehavior; | 89 PaintBehavior paintBehavior; |
| 89 bool clipToDirtyRect; | 90 bool clipToDirtyRect; |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 } // namespace blink | 93 } // namespace blink |
| 93 | 94 |
| 94 #endif // SKY_ENGINE_CORE_RENDERING_LAYERPAINTINGINFO_H_ | 95 #endif // SKY_ENGINE_CORE_RENDERING_LAYERPAINTINGINFO_H_ |
| OLD | NEW |