| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 } | 83 } |
| 84 | 84 |
| 85 bool shouldApplyViewportClip() const; | 85 bool shouldApplyViewportClip() const; |
| 86 bool shouldClipOverflow() const override { | 86 bool shouldClipOverflow() const override { |
| 87 return LayoutBox::shouldClipOverflow() || shouldApplyViewportClip(); | 87 return LayoutBox::shouldClipOverflow() || shouldApplyViewportClip(); |
| 88 } | 88 } |
| 89 | 89 |
| 90 LayoutRect visualOverflowRect() const override; | 90 LayoutRect visualOverflowRect() const override; |
| 91 LayoutRect overflowClipRect( | 91 LayoutRect overflowClipRect( |
| 92 const LayoutPoint& location, | 92 const LayoutPoint& location, |
| 93 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override; | 93 OverlayScrollbarClipBehavior = |
| 94 IgnorePlatformOverlayScrollbarSize) const override; |
| 94 | 95 |
| 95 bool hasNonIsolatedBlendingDescendants() const final; | 96 bool hasNonIsolatedBlendingDescendants() const final; |
| 96 | 97 |
| 97 const char* name() const override { return "LayoutSVGRoot"; } | 98 const char* name() const override { return "LayoutSVGRoot"; } |
| 98 | 99 |
| 99 private: | 100 private: |
| 100 const LayoutObjectChildList* children() const { return &m_children; } | 101 const LayoutObjectChildList* children() const { return &m_children; } |
| 101 LayoutObjectChildList* children() { return &m_children; } | 102 LayoutObjectChildList* children() { return &m_children; } |
| 102 | 103 |
| 103 LayoutObjectChildList* virtualChildren() override { return children(); } | 104 LayoutObjectChildList* virtualChildren() override { return children(); } |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 bool m_hasBoxDecorationBackground : 1; | 179 bool m_hasBoxDecorationBackground : 1; |
| 179 mutable bool m_hasNonIsolatedBlendingDescendants : 1; | 180 mutable bool m_hasNonIsolatedBlendingDescendants : 1; |
| 180 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; | 181 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; |
| 181 }; | 182 }; |
| 182 | 183 |
| 183 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, isSVGRoot()); | 184 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, isSVGRoot()); |
| 184 | 185 |
| 185 } // namespace blink | 186 } // namespace blink |
| 186 | 187 |
| 187 #endif // LayoutSVGRoot_h | 188 #endif // LayoutSVGRoot_h |
| OLD | NEW |