| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 81   void addOutlineRects(Vector<LayoutRect>&, | 81   void addOutlineRects(Vector<LayoutRect>&, | 
| 82                        const LayoutPoint& additionalOffset, | 82                        const LayoutPoint& additionalOffset, | 
| 83                        IncludeBlockVisualOverflowOrNot) const final; | 83                        IncludeBlockVisualOverflowOrNot) const final; | 
| 84 | 84 | 
| 85   FloatRect strokeBoundingBox() const final { return m_strokeBoundingBox; } | 85   FloatRect strokeBoundingBox() const final { return m_strokeBoundingBox; } | 
| 86 | 86 | 
| 87   bool nodeAtFloatPoint(HitTestResult&, | 87   bool nodeAtFloatPoint(HitTestResult&, | 
| 88                         const FloatPoint& pointInParent, | 88                         const FloatPoint& pointInParent, | 
| 89                         HitTestAction) override; | 89                         HitTestAction) override; | 
| 90 | 90 | 
| 91   // Allow LayoutSVGTransformableContainer to hook in at the right time in | 91   // Called during layout to update the local transform. | 
| 92   // layout(). |  | 
| 93   virtual SVGTransformChange calculateLocalTransform(); | 92   virtual SVGTransformChange calculateLocalTransform(); | 
| 94 | 93 | 
| 95   // Allow LayoutSVGViewportContainer to hook in at the right times in layout() |  | 
| 96   // and nodeAtFloatPoint(). |  | 
| 97   virtual void calcViewport() {} |  | 
| 98   virtual bool pointIsInsideViewportClip(const FloatPoint& /*pointInParent*/) { |  | 
| 99     return true; |  | 
| 100   } |  | 
| 101 |  | 
| 102   virtual void determineIfLayoutSizeChanged() {} | 94   virtual void determineIfLayoutSizeChanged() {} | 
| 103 | 95 | 
| 104   void updateCachedBoundaries(); | 96   void updateCachedBoundaries(); | 
| 105 | 97 | 
| 106   void descendantIsolationRequirementsChanged(DescendantIsolationState) final; | 98   void descendantIsolationRequirementsChanged(DescendantIsolationState) final; | 
| 107 | 99 | 
| 108  private: | 100  private: | 
| 109   const LayoutObjectChildList* children() const { return &m_children; } | 101   const LayoutObjectChildList* children() const { return &m_children; } | 
| 110   LayoutObjectChildList* children() { return &m_children; } | 102   LayoutObjectChildList* children() { return &m_children; } | 
| 111 | 103 | 
| 112   LayoutObjectChildList m_children; | 104   LayoutObjectChildList m_children; | 
| 113   FloatRect m_objectBoundingBox; | 105   FloatRect m_objectBoundingBox; | 
| 114   FloatRect m_strokeBoundingBox; | 106   FloatRect m_strokeBoundingBox; | 
| 115   bool m_objectBoundingBoxValid; | 107   bool m_objectBoundingBoxValid; | 
| 116   bool m_needsBoundariesUpdate : 1; | 108   bool m_needsBoundariesUpdate : 1; | 
| 117   bool m_didScreenScaleFactorChange : 1; | 109   bool m_didScreenScaleFactorChange : 1; | 
| 118   mutable bool m_hasNonIsolatedBlendingDescendants : 1; | 110   mutable bool m_hasNonIsolatedBlendingDescendants : 1; | 
| 119   mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; | 111   mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; | 
| 120 }; | 112 }; | 
| 121 | 113 | 
| 122 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGContainer, isSVGContainer()); | 114 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGContainer, isSVGContainer()); | 
| 123 | 115 | 
| 124 }  // namespace blink | 116 }  // namespace blink | 
| 125 | 117 | 
| 126 #endif  // LayoutSVGContainer_h | 118 #endif  // LayoutSVGContainer_h | 
| OLD | NEW | 
|---|