| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 if (m_containerSize != containerSize) | 60 if (m_containerSize != containerSize) |
| 61 setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::Siz
eChanged); | 61 setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::Siz
eChanged); |
| 62 m_containerSize = containerSize; | 62 m_containerSize = containerSize; |
| 63 } | 63 } |
| 64 | 64 |
| 65 // localToBorderBoxTransform maps local SVG viewport coordinates to local CS
S box coordinates. | 65 // localToBorderBoxTransform maps local SVG viewport coordinates to local CS
S box coordinates. |
| 66 const AffineTransform& localToBorderBoxTransform() const { return m_localToB
orderBoxTransform; } | 66 const AffineTransform& localToBorderBoxTransform() const { return m_localToB
orderBoxTransform; } |
| 67 bool shouldApplyViewportClip() const; | 67 bool shouldApplyViewportClip() const; |
| 68 | 68 |
| 69 LayoutRect visualOverflowRect() const override; | 69 LayoutRect visualOverflowRect() const override; |
| 70 LayoutRect overflowClipRect(const LayoutPoint& location, OverlayScrollbarCli
pBehavior = IgnoreOverlayScrollbarSize) const override; |
| 70 | 71 |
| 71 bool hasNonIsolatedBlendingDescendants() const final; | 72 bool hasNonIsolatedBlendingDescendants() const final; |
| 72 | 73 |
| 73 const char* name() const override { return "LayoutSVGRoot"; } | 74 const char* name() const override { return "LayoutSVGRoot"; } |
| 74 | 75 |
| 75 private: | 76 private: |
| 76 const LayoutObjectChildList* children() const { return &m_children; } | 77 const LayoutObjectChildList* children() const { return &m_children; } |
| 77 LayoutObjectChildList* children() { return &m_children; } | 78 LayoutObjectChildList* children() { return &m_children; } |
| 78 | 79 |
| 79 LayoutObjectChildList* virtualChildren() override { return children(); } | 80 LayoutObjectChildList* virtualChildren() override { return children(); } |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 bool m_hasBoxDecorationBackground : 1; | 133 bool m_hasBoxDecorationBackground : 1; |
| 133 mutable bool m_hasNonIsolatedBlendingDescendants : 1; | 134 mutable bool m_hasNonIsolatedBlendingDescendants : 1; |
| 134 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; | 135 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; |
| 135 }; | 136 }; |
| 136 | 137 |
| 137 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, isSVGRoot()); | 138 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, isSVGRoot()); |
| 138 | 139 |
| 139 } // namespace blink | 140 } // namespace blink |
| 140 | 141 |
| 141 #endif // LayoutSVGRoot_h | 142 #endif // LayoutSVGRoot_h |
| OLD | NEW |