| 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 23 matching lines...) Expand all Loading... |
| 34 #include "platform/graphics/GraphicsContextStateSaver.h" | 34 #include "platform/graphics/GraphicsContextStateSaver.h" |
| 35 #include "platform/transforms/AffineTransform.h" | 35 #include "platform/transforms/AffineTransform.h" |
| 36 #include "wtf/HashMap.h" | 36 #include "wtf/HashMap.h" |
| 37 #include "wtf/ListHashSet.h" | 37 #include "wtf/ListHashSet.h" |
| 38 | 38 |
| 39 namespace blink { | 39 namespace blink { |
| 40 | 40 |
| 41 class RenderInline; | 41 class RenderInline; |
| 42 class RenderLayerModelObject; | 42 class RenderLayerModelObject; |
| 43 class RenderObject; | 43 class RenderObject; |
| 44 class RenderWidget; | 44 class RenderPart; |
| 45 | 45 |
| 46 typedef HashMap<RenderWidget*, IntRect> OverlapTestRequestMap; | 46 typedef HashMap<RenderPart*, IntRect> OverlapTestRequestMap; |
| 47 | 47 |
| 48 /* | 48 /* |
| 49 * Paint the object and its children, clipped by (x|y|w|h). | 49 * Paint the object and its children, clipped by (x|y|w|h). |
| 50 * (tx|ty) is the calculated position of the parent | 50 * (tx|ty) is the calculated position of the parent |
| 51 */ | 51 */ |
| 52 struct PaintInfo { | 52 struct PaintInfo { |
| 53 PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase ne
wPhase, PaintBehavior newPaintBehavior, | 53 PaintInfo(GraphicsContext* newContext, const IntRect& newRect, PaintPhase ne
wPhase, PaintBehavior newPaintBehavior, |
| 54 RenderObject* newPaintingRoot = 0, ListHashSet<RenderInline*>* newOutlin
eObjects = 0, | 54 RenderObject* newPaintingRoot = 0, ListHashSet<RenderInline*>* newOutlin
eObjects = 0, |
| 55 const RenderLayerModelObject* newPaintContainer = 0) | 55 const RenderLayerModelObject* newPaintContainer = 0) |
| 56 : context(newContext) | 56 : context(newContext) |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 RenderObject* paintingRoot; // used to draw just one element and its visual
kids | 119 RenderObject* paintingRoot; // used to draw just one element and its visual
kids |
| 120 | 120 |
| 121 private: | 121 private: |
| 122 const RenderLayerModelObject* m_paintContainer; // the layer object that ori
ginates the current painting | 122 const RenderLayerModelObject* m_paintContainer; // the layer object that ori
ginates the current painting |
| 123 ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that
should be painted by a block with inline children | 123 ListHashSet<RenderInline*>* m_outlineObjects; // used to list outlines that
should be painted by a block with inline children |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 } // namespace blink | 126 } // namespace blink |
| 127 | 127 |
| 128 #endif // PaintInfo_h | 128 #endif // PaintInfo_h |
| OLD | NEW |