| 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 const AffineTransform& LocalToBorderBoxTransform() const { | 81 const AffineTransform& LocalToBorderBoxTransform() const { |
| 82 return local_to_border_box_transform_; | 82 return local_to_border_box_transform_; |
| 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( | |
| 92 const LayoutPoint& location, | |
| 93 OverlayScrollbarClipBehavior = | |
| 94 kIgnorePlatformOverlayScrollbarSize) const override; | |
| 95 | 91 |
| 96 bool HasNonIsolatedBlendingDescendants() const final; | 92 bool HasNonIsolatedBlendingDescendants() const final; |
| 97 | 93 |
| 98 const char* GetName() const override { return "LayoutSVGRoot"; } | 94 const char* GetName() const override { return "LayoutSVGRoot"; } |
| 99 | 95 |
| 100 private: | 96 private: |
| 101 const LayoutObjectChildList* Children() const { return &children_; } | 97 const LayoutObjectChildList* Children() const { return &children_; } |
| 102 LayoutObjectChildList* Children() { return &children_; } | 98 LayoutObjectChildList* Children() { return &children_; } |
| 103 | 99 |
| 104 LayoutObjectChildList* VirtualChildren() override { return Children(); } | 100 LayoutObjectChildList* VirtualChildren() override { return Children(); } |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 bool has_box_decoration_background_ : 1; | 175 bool has_box_decoration_background_ : 1; |
| 180 mutable bool has_non_isolated_blending_descendants_ : 1; | 176 mutable bool has_non_isolated_blending_descendants_ : 1; |
| 181 mutable bool has_non_isolated_blending_descendants_dirty_ : 1; | 177 mutable bool has_non_isolated_blending_descendants_dirty_ : 1; |
| 182 }; | 178 }; |
| 183 | 179 |
| 184 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, IsSVGRoot()); | 180 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, IsSVGRoot()); |
| 185 | 181 |
| 186 } // namespace blink | 182 } // namespace blink |
| 187 | 183 |
| 188 #endif // LayoutSVGRoot_h | 184 #endif // LayoutSVGRoot_h |
| OLD | NEW |