| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 return type == LayoutObjectSVGHiddenContainer || | 41 return type == LayoutObjectSVGHiddenContainer || |
| 42 LayoutSVGContainer::isOfType(type); | 42 LayoutSVGContainer::isOfType(type); |
| 43 } | 43 } |
| 44 | 44 |
| 45 private: | 45 private: |
| 46 // LayoutSVGHiddenContainer paints nothing. | 46 // LayoutSVGHiddenContainer paints nothing. |
| 47 void paint(const PaintInfo&, const LayoutPoint&) const final {} | 47 void paint(const PaintInfo&, const LayoutPoint&) const final {} |
| 48 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const final { | 48 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const final { |
| 49 return true; | 49 return true; |
| 50 } | 50 } |
| 51 LayoutRect absoluteClippedOverflowRect() const final { return LayoutRect(); } | 51 LayoutRect absoluteVisualRect() const final { return LayoutRect(); } |
| 52 FloatRect paintInvalidationRectInLocalSVGCoordinates() const final { | 52 FloatRect visualRectInLocalSVGCoordinates() const final { |
| 53 return FloatRect(); | 53 return FloatRect(); |
| 54 } | 54 } |
| 55 void absoluteQuads(Vector<FloatQuad>&) const final {} | 55 void absoluteQuads(Vector<FloatQuad>&) const final {} |
| 56 | 56 |
| 57 bool nodeAtFloatPoint(HitTestResult&, | 57 bool nodeAtFloatPoint(HitTestResult&, |
| 58 const FloatPoint& pointInParent, | 58 const FloatPoint& pointInParent, |
| 59 HitTestAction) final; | 59 HitTestAction) final; |
| 60 }; | 60 }; |
| 61 } // namespace blink | 61 } // namespace blink |
| 62 | 62 |
| 63 #endif // LayoutSVGHiddenContainer_h | 63 #endif // LayoutSVGHiddenContainer_h |
| OLD | NEW |