| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
| 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. |
| 7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 * The backgrounds and borders of all blocks are painted. Inlines are not pain
ted at all. | 34 * The backgrounds and borders of all blocks are painted. Inlines are not pain
ted at all. |
| 35 * Floats must paint above block backgrounds but entirely below inline content
that can overlap them. | 35 * Floats must paint above block backgrounds but entirely below inline content
that can overlap them. |
| 36 * In the foreground phase, all inlines are fully painted. Inline replaced ele
ments will get all | 36 * In the foreground phase, all inlines are fully painted. Inline replaced ele
ments will get all |
| 37 * three phases invoked on them during this phase. | 37 * three phases invoked on them during this phase. |
| 38 */ | 38 */ |
| 39 | 39 |
| 40 enum PaintPhase { | 40 enum PaintPhase { |
| 41 PaintPhaseBlockBackground, | 41 PaintPhaseBlockBackground, |
| 42 PaintPhaseChildBlockBackground, | 42 PaintPhaseChildBlockBackground, |
| 43 PaintPhaseChildBlockBackgrounds, | 43 PaintPhaseChildBlockBackgrounds, |
| 44 PaintPhaseFloat, | |
| 45 PaintPhaseForeground, | 44 PaintPhaseForeground, |
| 46 PaintPhaseOutline, | 45 PaintPhaseOutline, |
| 47 PaintPhaseChildOutlines, | 46 PaintPhaseChildOutlines, |
| 48 PaintPhaseSelfOutline, | 47 PaintPhaseSelfOutline, |
| 49 PaintPhaseSelection, | 48 PaintPhaseSelection, |
| 50 PaintPhaseCollapsedTableBorders, | 49 PaintPhaseCollapsedTableBorders, |
| 51 PaintPhaseTextClip, | 50 PaintPhaseTextClip, |
| 52 PaintPhaseMask, | 51 PaintPhaseMask, |
| 53 PaintPhaseClippingMask, | 52 PaintPhaseClippingMask, |
| 54 }; | 53 }; |
| 55 | 54 |
| 56 enum PaintBehaviorFlags { | 55 enum PaintBehaviorFlags { |
| 57 PaintBehaviorNormal = 0, | 56 PaintBehaviorNormal = 0, |
| 58 PaintBehaviorSelectionOnly = 1 << 0, | 57 PaintBehaviorSelectionOnly = 1 << 0, |
| 59 PaintBehaviorForceBlackText = 1 << 1, | 58 PaintBehaviorForceBlackText = 1 << 1, |
| 60 PaintBehaviorFlattenCompositingLayers = 1 << 2, | 59 PaintBehaviorFlattenCompositingLayers = 1 << 2, |
| 61 PaintBehaviorRenderingSVGMask = 1 << 3, | 60 PaintBehaviorRenderingSVGMask = 1 << 3, |
| 62 PaintBehaviorSkipRootBackground = 1 << 4, | 61 PaintBehaviorSkipRootBackground = 1 << 4, |
| 63 PaintBehaviorRootBackgroundOnly = 1 << 5 | 62 PaintBehaviorRootBackgroundOnly = 1 << 5 |
| 64 }; | 63 }; |
| 65 | 64 |
| 66 typedef unsigned PaintBehavior; | 65 typedef unsigned PaintBehavior; |
| 67 | 66 |
| 68 } // namespace blink | 67 } // namespace blink |
| 69 | 68 |
| 70 #endif // PaintPhase_h | 69 #endif // PaintPhase_h |
| OLD | NEW |