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 | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights |
7 * reserved. | 7 * reserved. |
8 * Copyright (C) 2009 Google Inc. All rights reserved. | 8 * Copyright (C) 2009 Google Inc. All rights reserved. |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 if (phase == PaintPhaseDescendantOutlinesOnly) | 78 if (phase == PaintPhaseDescendantOutlinesOnly) |
79 result.phase = PaintPhaseOutline; | 79 result.phase = PaintPhaseOutline; |
80 else if (phase == PaintPhaseDescendantBlockBackgroundsOnly) | 80 else if (phase == PaintPhaseDescendantBlockBackgroundsOnly) |
81 result.phase = PaintPhaseBlockBackground; | 81 result.phase = PaintPhaseBlockBackground; |
82 return result; | 82 return result; |
83 } | 83 } |
84 | 84 |
85 bool isRenderingClipPathAsMaskImage() const { | 85 bool isRenderingClipPathAsMaskImage() const { |
86 return m_paintFlags & PaintLayerPaintingRenderingClipPathAsMask; | 86 return m_paintFlags & PaintLayerPaintingRenderingClipPathAsMask; |
87 } | 87 } |
| 88 bool isRenderingResourceSubtree() const { |
| 89 return m_paintFlags & PaintLayerPaintingRenderingResourceSubtree; |
| 90 } |
88 | 91 |
89 bool skipRootBackground() const { | 92 bool skipRootBackground() const { |
90 return m_paintFlags & PaintLayerPaintingSkipRootBackground; | 93 return m_paintFlags & PaintLayerPaintingSkipRootBackground; |
91 } | 94 } |
92 bool paintRootBackgroundOnly() const { | 95 bool paintRootBackgroundOnly() const { |
93 return m_paintFlags & PaintLayerPaintingRootBackgroundOnly; | 96 return m_paintFlags & PaintLayerPaintingRootBackgroundOnly; |
94 } | 97 } |
95 | 98 |
96 bool isPrinting() const { return m_globalPaintFlags & GlobalPaintPrinting; } | 99 bool isPrinting() const { return m_globalPaintFlags & GlobalPaintPrinting; } |
97 | 100 |
(...skipping 28 matching lines...) Expand all Loading... |
126 const GlobalPaintFlags m_globalPaintFlags; | 129 const GlobalPaintFlags m_globalPaintFlags; |
127 | 130 |
128 // TODO(chrishtr): temporary while we implement CullRect everywhere. | 131 // TODO(chrishtr): temporary while we implement CullRect everywhere. |
129 friend class SVGPaintContext; | 132 friend class SVGPaintContext; |
130 friend class SVGShapePainter; | 133 friend class SVGShapePainter; |
131 }; | 134 }; |
132 | 135 |
133 } // namespace blink | 136 } // namespace blink |
134 | 137 |
135 #endif // PaintInfo_h | 138 #endif // PaintInfo_h |
OLD | NEW |