| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Apple Computer, Inc. | 2 * Copyright (C) 2006 Apple Computer, Inc. |
| 3 * Copyright (C) 2009 Google, Inc. | 3 * Copyright (C) 2009 Google, Inc. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override; | 37 virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override; |
| 38 | 38 |
| 39 virtual void paint(PaintInfo&, const LayoutPoint&) override; | 39 virtual void paint(PaintInfo&, const LayoutPoint&) override; |
| 40 | 40 |
| 41 virtual void layout() override; | 41 virtual void layout() override; |
| 42 | 42 |
| 43 virtual FloatRect objectBoundingBox() const override { return FloatRect(Floa
tPoint(), m_viewport.size()); } | 43 virtual FloatRect objectBoundingBox() const override { return FloatRect(Floa
tPoint(), m_viewport.size()); } |
| 44 virtual FloatRect strokeBoundingBox() const override { return FloatRect(Floa
tPoint(), m_viewport.size()); } | 44 virtual FloatRect strokeBoundingBox() const override { return FloatRect(Floa
tPoint(), m_viewport.size()); } |
| 45 virtual FloatRect paintInvalidationRectInLocalCoordinates() const override {
return FloatRect(FloatPoint(), m_viewport.size()); } | 45 virtual FloatRect paintInvalidationRectInLocalCoordinates() const override {
return FloatRect(FloatPoint(), m_viewport.size()); } |
| 46 | 46 |
| 47 virtual void mapRectToPaintInvalidationBacking(const RenderLayerModelObject*
paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const o
verride; | |
| 48 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F
loatPoint& pointInParent, HitTestAction) override; | 47 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F
loatPoint& pointInParent, HitTestAction) override; |
| 49 virtual bool isOfType(RenderObjectType type) const override { return type ==
RenderObjectSVGForeignObject || RenderSVGBlock::isOfType(type); } | 48 virtual bool isOfType(RenderObjectType type) const override { return type ==
RenderObjectSVGForeignObject || RenderSVGBlock::isOfType(type); } |
| 50 | 49 |
| 51 virtual void setNeedsTransformUpdate() override { m_needsTransformUpdate = t
rue; } | 50 virtual void setNeedsTransformUpdate() override { m_needsTransformUpdate = t
rue; } |
| 52 | 51 |
| 53 FloatRect viewportRect() { return m_viewport; } | 52 FloatRect viewportRect() { return m_viewport; } |
| 54 | 53 |
| 55 private: | 54 private: |
| 56 virtual void updateLogicalWidth() override; | 55 virtual void updateLogicalWidth() override; |
| 57 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const override; | 56 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const override; |
| 58 | 57 |
| 59 virtual const AffineTransform& localToParentTransform() const override; | 58 virtual const AffineTransform& localToParentTransform() const override; |
| 60 | 59 |
| 61 bool m_needsTransformUpdate : 1; | 60 bool m_needsTransformUpdate : 1; |
| 62 FloatRect m_viewport; | 61 FloatRect m_viewport; |
| 63 mutable AffineTransform m_localToParentTransform; | 62 mutable AffineTransform m_localToParentTransform; |
| 64 }; | 63 }; |
| 65 | 64 |
| 66 } | 65 } |
| 67 | 66 |
| 68 #endif | 67 #endif |
| OLD | NEW |