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