| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 bool shouldPaintWithinRoot(const LayoutObject* layoutObject) const | 72 bool shouldPaintWithinRoot(const LayoutObject* layoutObject) const |
| 73 { | 73 { |
| 74 return !paintingRoot || paintingRoot == layoutObject; | 74 return !paintingRoot || paintingRoot == layoutObject; |
| 75 } | 75 } |
| 76 | 76 |
| 77 bool isRenderingClipPathAsMaskImage() const { return paintBehavior & PaintBe
haviorRenderingClipPathAsMask; } | 77 bool isRenderingClipPathAsMaskImage() const { return paintBehavior & PaintBe
haviorRenderingClipPathAsMask; } |
| 78 | 78 |
| 79 bool skipRootBackground() const { return paintBehavior & PaintBehaviorSkipRo
otBackground; } | 79 bool skipRootBackground() const { return paintBehavior & PaintBehaviorSkipRo
otBackground; } |
| 80 bool paintRootBackgroundOnly() const { return paintBehavior & PaintBehaviorR
ootBackgroundOnly; } | 80 bool paintRootBackgroundOnly() const { return paintBehavior & PaintBehaviorR
ootBackgroundOnly; } |
| 81 bool isPrinting() const { return paintBehavior & PaintBehaviorPrinting; } |
| 81 | 82 |
| 82 DisplayItem::Type displayItemTypeForClipping() const { return DisplayItem::p
aintPhaseToClipBoxType(phase); } | 83 DisplayItem::Type displayItemTypeForClipping() const { return DisplayItem::p
aintPhaseToClipBoxType(phase); } |
| 83 | 84 |
| 84 const LayoutBoxModelObject* paintContainer() const { return m_paintContainer
; } | 85 const LayoutBoxModelObject* paintContainer() const { return m_paintContainer
; } |
| 85 | 86 |
| 86 ListHashSet<LayoutInline*>* outlineObjects() const { return m_outlineObjects
; } | 87 ListHashSet<LayoutInline*>* outlineObjects() const { return m_outlineObjects
; } |
| 87 void setOutlineObjects(ListHashSet<LayoutInline*>* objects) { m_outlineObjec
ts = objects; } | 88 void setOutlineObjects(ListHashSet<LayoutInline*>* objects) { m_outlineObjec
ts = objects; } |
| 88 | 89 |
| 89 // TODO(jchaffraix): Split the GlobalPaintFlags out of paintBehavior into it
s own field. | 90 // TODO(jchaffraix): Split the GlobalPaintFlags out of paintBehavior into it
s own field. |
| 90 GlobalPaintFlags globalPaintFlags() const { return toGlobalPaintFlags(paintB
ehavior); } | 91 GlobalPaintFlags globalPaintFlags() const { return toGlobalPaintFlags(paintB
ehavior); } |
| (...skipping 17 matching lines...) Expand all Loading... |
| 108 LayoutObject* paintingRoot; // used to draw just one element and its visual
kids | 109 LayoutObject* paintingRoot; // used to draw just one element and its visual
kids |
| 109 | 110 |
| 110 private: | 111 private: |
| 111 const LayoutBoxModelObject* m_paintContainer; // the box model object that o
riginates the current painting | 112 const LayoutBoxModelObject* m_paintContainer; // the box model object that o
riginates the current painting |
| 112 ListHashSet<LayoutInline*>* m_outlineObjects; // used to list outlines that
should be painted by a block with inline children | 113 ListHashSet<LayoutInline*>* m_outlineObjects; // used to list outlines that
should be painted by a block with inline children |
| 113 }; | 114 }; |
| 114 | 115 |
| 115 } // namespace blink | 116 } // namespace blink |
| 116 | 117 |
| 117 #endif // PaintInfo_h | 118 #endif // PaintInfo_h |
| OLD | NEW |