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 ALLOW_ONLY_INLINE_ALLOCATION(); | 54 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
55 PaintInfo(GraphicsContext* newContext, const IntRect& cullRect, PaintPhase n
ewPhase, GlobalPaintFlags globalPaintFlags, PaintLayerFlags paintFlags, | 55 PaintInfo(GraphicsContext* newContext, const IntRect& cullRect, PaintPhase n
ewPhase, GlobalPaintFlags globalPaintFlags, PaintLayerFlags paintFlags, |
56 LayoutObject* newPaintingRoot = nullptr, const LayoutBoxModelObject* new
PaintContainer = nullptr) | 56 LayoutObject* newPaintingRoot = nullptr, const LayoutBoxModelObject* new
PaintContainer = nullptr) |
57 : context(newContext) | 57 : context(newContext) |
58 , phase(newPhase) | 58 , phase(newPhase) |
59 , paintingRoot(newPaintingRoot) | 59 , paintingRoot(newPaintingRoot) |
60 , paintInvalidationState(nullptr) | 60 , paintInvalidationState(nullptr) |
61 , m_cullRect(cullRect) | 61 , m_cullRect(cullRect) |
62 , m_paintContainer(newPaintContainer) | 62 , m_paintContainer(newPaintContainer) |
63 , m_paintFlags(paintFlags) | 63 , m_paintFlags(paintFlags) |
64 , m_globalPaintFlags(globalPaintFlags) | 64 , m_globalPaintFlags(globalPaintFlags) |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 const GlobalPaintFlags m_globalPaintFlags; | 103 const GlobalPaintFlags m_globalPaintFlags; |
104 | 104 |
105 // TODO(chrishtr): temporary while we implement CullRect everywhere. | 105 // TODO(chrishtr): temporary while we implement CullRect everywhere. |
106 friend class SVGPaintContext; | 106 friend class SVGPaintContext; |
107 friend class SVGShapePainter; | 107 friend class SVGShapePainter; |
108 }; | 108 }; |
109 | 109 |
110 } // namespace blink | 110 } // namespace blink |
111 | 111 |
112 #endif // PaintInfo_h | 112 #endif // PaintInfo_h |
OLD | NEW |