| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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; | 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; | 48 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F
loatPoint& pointInParent, HitTestAction) OVERRIDE; |
| 49 virtual bool isSVGForeignObject() const OVERRIDE { return true; } | 49 virtual bool isSVGForeignObject() const OVERRIDE { return true; } |
| 50 | 50 |
| 51 virtual void setNeedsTransformUpdate() OVERRIDE { m_needsTransformUpdate = t
rue; } | 51 virtual void setNeedsTransformUpdate() OVERRIDE { m_needsTransformUpdate = t
rue; } |
| 52 | 52 |
| 53 FloatRect viewportRect() { return m_viewport; } |
| 54 |
| 53 private: | 55 private: |
| 54 virtual void updateLogicalWidth() OVERRIDE; | 56 virtual void updateLogicalWidth() OVERRIDE; |
| 55 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const OVERRIDE; | 57 virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
alTop, LogicalExtentComputedValues&) const OVERRIDE; |
| 56 | 58 |
| 57 virtual const AffineTransform& localToParentTransform() const OVERRIDE; | 59 virtual const AffineTransform& localToParentTransform() const OVERRIDE; |
| 58 | 60 |
| 59 bool m_needsTransformUpdate : 1; | 61 bool m_needsTransformUpdate : 1; |
| 60 FloatRect m_viewport; | 62 FloatRect m_viewport; |
| 61 mutable AffineTransform m_localToParentTransform; | 63 mutable AffineTransform m_localToParentTransform; |
| 62 }; | 64 }; |
| 63 | 65 |
| 64 } | 66 } |
| 65 | 67 |
| 66 #endif | 68 #endif |
| OLD | NEW |