| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2009 Google, Inc. All rights reserved. | 4 * Copyright (C) 2009 Google, Inc. All rights reserved. |
| 5 * Copyright (C) 2009 Apple Inc. All rights reserved. | 5 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 | 61 |
| 62 virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = 0) ov
erride final; | 62 virtual void addChild(LayoutObject* child, LayoutObject* beforeChild = 0) ov
erride final; |
| 63 virtual void removeChild(LayoutObject*) override final; | 63 virtual void removeChild(LayoutObject*) override final; |
| 64 virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& addit
ionalOffset) const override final; | 64 virtual void addFocusRingRects(Vector<LayoutRect>&, const LayoutPoint& addit
ionalOffset) const override final; |
| 65 | 65 |
| 66 virtual FloatRect objectBoundingBox() const override final { return m_object
BoundingBox; } | 66 virtual FloatRect objectBoundingBox() const override final { return m_object
BoundingBox; } |
| 67 virtual FloatRect strokeBoundingBox() const override final { return m_stroke
BoundingBox; } | 67 virtual FloatRect strokeBoundingBox() const override final { return m_stroke
BoundingBox; } |
| 68 | 68 |
| 69 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F
loatPoint& pointInParent, HitTestAction) override; | 69 virtual bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const F
loatPoint& pointInParent, HitTestAction) override; |
| 70 | 70 |
| 71 // Allow RenderSVGTransformableContainer to hook in at the right time in lay
out(). | 71 // Allow LayoutSVGTransformableContainer to hook in at the right time in lay
out(). |
| 72 virtual bool calculateLocalTransform() { return false; } | 72 virtual bool calculateLocalTransform() { return false; } |
| 73 | 73 |
| 74 // Allow RenderSVGViewportContainer to hook in at the right times in layout(
) and nodeAtFloatPoint(). | 74 // Allow LayoutSVGViewportContainer to hook in at the right times in layout(
) and nodeAtFloatPoint(). |
| 75 virtual void calcViewport() { } | 75 virtual void calcViewport() { } |
| 76 virtual bool pointIsInsideViewportClip(const FloatPoint& /*pointInParent*/)
{ return true; } | 76 virtual bool pointIsInsideViewportClip(const FloatPoint& /*pointInParent*/)
{ return true; } |
| 77 | 77 |
| 78 virtual void determineIfLayoutSizeChanged() { } | 78 virtual void determineIfLayoutSizeChanged() { } |
| 79 | 79 |
| 80 void updateCachedBoundaries(); | 80 void updateCachedBoundaries(); |
| 81 | 81 |
| 82 virtual void descendantIsolationRequirementsChanged(DescendantIsolationState
) override final; | 82 virtual void descendantIsolationRequirementsChanged(DescendantIsolationState
) override final; |
| 83 | 83 |
| 84 private: | 84 private: |
| 85 const LayoutObjectChildList* children() const { return &m_children; } | 85 const LayoutObjectChildList* children() const { return &m_children; } |
| 86 LayoutObjectChildList* children() { return &m_children; } | 86 LayoutObjectChildList* children() { return &m_children; } |
| 87 | 87 |
| 88 LayoutObjectChildList m_children; | 88 LayoutObjectChildList m_children; |
| 89 FloatRect m_objectBoundingBox; | 89 FloatRect m_objectBoundingBox; |
| 90 FloatRect m_strokeBoundingBox; | 90 FloatRect m_strokeBoundingBox; |
| 91 bool m_objectBoundingBoxValid; | 91 bool m_objectBoundingBoxValid; |
| 92 bool m_needsBoundariesUpdate; | 92 bool m_needsBoundariesUpdate; |
| 93 mutable bool m_hasNonIsolatedBlendingDescendants : 1; | 93 mutable bool m_hasNonIsolatedBlendingDescendants : 1; |
| 94 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; | 94 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGContainer, isSVGContainer()); | 97 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGContainer, isSVGContainer()); |
| 98 | 98 |
| 99 } // namespace blink | 99 } // namespace blink |
| 100 | 100 |
| 101 #endif // LayoutSVGContainer_h | 101 #endif // LayoutSVGContainer_h |
| OLD | NEW |