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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 { | 102 { |
103 if (rect != LayoutRect::infiniteIntRect()) | 103 if (rect != LayoutRect::infiniteIntRect()) |
104 rect = localToParentTransform.inverse().mapRect(rect); | 104 rect = localToParentTransform.inverse().mapRect(rect); |
105 } | 105 } |
106 | 106 |
107 // FIXME: Introduce setters/getters at some point. Requires a lot of changes
throughout layout/. | 107 // FIXME: Introduce setters/getters at some point. Requires a lot of changes
throughout layout/. |
108 GraphicsContext* context; | 108 GraphicsContext* context; |
109 IntRect rect; // dirty rect used for culling non-intersecting layoutObjects | 109 IntRect rect; // dirty rect used for culling non-intersecting layoutObjects |
110 PaintPhase phase; | 110 PaintPhase phase; |
111 LayoutObject* paintingRoot; // used to draw just one element and its visual
kids | 111 LayoutObject* paintingRoot; // used to draw just one element and its visual
kids |
| 112 IntPoint accumulatedScrollOffsetSincePaintContainer; |
112 | 113 |
113 private: | 114 private: |
114 const LayoutBoxModelObject* m_paintContainer; // the box model object that o
riginates the current painting | 115 const LayoutBoxModelObject* m_paintContainer; // the box model object that o
riginates the current painting |
115 | 116 |
116 const PaintLayerFlags m_paintFlags; | 117 const PaintLayerFlags m_paintFlags; |
117 const GlobalPaintFlags m_globalPaintFlags; | 118 const GlobalPaintFlags m_globalPaintFlags; |
118 }; | 119 }; |
119 | 120 |
120 } // namespace blink | 121 } // namespace blink |
121 | 122 |
122 #endif // PaintInfo_h | 123 #endif // PaintInfo_h |
OLD | NEW |