| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include <limits> | 44 #include <limits> |
| 45 | 45 |
| 46 namespace blink { | 46 namespace blink { |
| 47 | 47 |
| 48 class LayoutInline; | 48 class LayoutInline; |
| 49 class LayoutBoxModelObject; | 49 class LayoutBoxModelObject; |
| 50 class LayoutObject; | 50 class LayoutObject; |
| 51 class PaintInvalidationState; | 51 class PaintInvalidationState; |
| 52 | 52 |
| 53 struct CORE_EXPORT PaintInfo { | 53 struct CORE_EXPORT PaintInfo { |
| 54 USING_FAST_MALLOC(PaintInfo); |
| 55 public: |
| 54 PaintInfo(GraphicsContext& newContext, const IntRect& cullRect, PaintPhase n
ewPhase, GlobalPaintFlags globalPaintFlags, | 56 PaintInfo(GraphicsContext& newContext, const IntRect& cullRect, PaintPhase n
ewPhase, GlobalPaintFlags globalPaintFlags, |
| 55 PaintLayerFlags paintFlags, const LayoutBoxModelObject* newPaintContaine
r = nullptr) | 57 PaintLayerFlags paintFlags, const LayoutBoxModelObject* newPaintContaine
r = nullptr) |
| 56 : context(newContext) | 58 : context(newContext) |
| 57 , phase(newPhase) | 59 , phase(newPhase) |
| 58 , m_cullRect(cullRect) | 60 , m_cullRect(cullRect) |
| 59 , m_paintContainer(newPaintContainer) | 61 , m_paintContainer(newPaintContainer) |
| 60 , m_paintFlags(paintFlags) | 62 , m_paintFlags(paintFlags) |
| 61 , m_globalPaintFlags(globalPaintFlags) | 63 , m_globalPaintFlags(globalPaintFlags) |
| 62 { | 64 { |
| 63 } | 65 } |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 const GlobalPaintFlags m_globalPaintFlags; | 116 const GlobalPaintFlags m_globalPaintFlags; |
| 115 | 117 |
| 116 // TODO(chrishtr): temporary while we implement CullRect everywhere. | 118 // TODO(chrishtr): temporary while we implement CullRect everywhere. |
| 117 friend class SVGPaintContext; | 119 friend class SVGPaintContext; |
| 118 friend class SVGShapePainter; | 120 friend class SVGShapePainter; |
| 119 }; | 121 }; |
| 120 | 122 |
| 121 } // namespace blink | 123 } // namespace blink |
| 122 | 124 |
| 123 #endif // PaintInfo_h | 125 #endif // PaintInfo_h |
| OLD | NEW |