| 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 25 matching lines...) Expand all Loading... |
| 36 #include "wtf/HashMap.h" | 36 #include "wtf/HashMap.h" |
| 37 #include "wtf/ListHashSet.h" | 37 #include "wtf/ListHashSet.h" |
| 38 | 38 |
| 39 #include <limits> | 39 #include <limits> |
| 40 | 40 |
| 41 namespace blink { | 41 namespace blink { |
| 42 | 42 |
| 43 class RenderInline; | 43 class RenderInline; |
| 44 class LayoutLayerModelObject; | 44 class LayoutLayerModelObject; |
| 45 class LayoutObject; | 45 class LayoutObject; |
| 46 class RenderPart; | |
| 47 | 46 |
| 48 struct PaintInfo { | 47 struct PaintInfo { |
| 49 PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase ne
wPhase, PaintBehavior newPaintBehavior, | 48 PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase ne
wPhase, PaintBehavior newPaintBehavior, |
| 50 LayoutObject* newPaintingRoot = 0, ListHashSet<RenderInline*>* newOutlin
eObjects = 0, | 49 LayoutObject* newPaintingRoot = 0, ListHashSet<RenderInline*>* newOutlin
eObjects = 0, |
| 51 const LayoutLayerModelObject* newPaintContainer = 0) | 50 const LayoutLayerModelObject* newPaintContainer = 0) |
| 52 : context(newContext) | 51 : context(newContext) |
| 53 , rect(newRect) | 52 , rect(newRect) |
| 54 , phase(newPhase) | 53 , phase(newPhase) |
| 55 , paintBehavior(newPaintBehavior) | 54 , paintBehavior(newPaintBehavior) |
| 56 , paintingRoot(newPaintingRoot) | 55 , paintingRoot(newPaintingRoot) |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 LayoutObject* paintingRoot; // used to draw just one element and its visual
kids | 96 LayoutObject* paintingRoot; // used to draw just one element and its visual
kids |
| 98 | 97 |
| 99 private: | 98 private: |
| 100 const LayoutLayerModelObject* m_paintContainer; // the layer object that ori
ginates the current painting | 99 const LayoutLayerModelObject* m_paintContainer; // the layer object that ori
ginates the current painting |
| 101 ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that
should be painted by a block with inline children | 100 ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that
should be painted by a block with inline children |
| 102 }; | 101 }; |
| 103 | 102 |
| 104 } // namespace blink | 103 } // namespace blink |
| 105 | 104 |
| 106 #endif // PaintInfo_h | 105 #endif // PaintInfo_h |
| OLD | NEW |