Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h

Issue 2749863006: Revert of Fix overflow:overlay scrollbar width for paint. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 = 93 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize) const override;
94 IgnorePlatformOverlayScrollbarSize) const override;
95 94
96 bool hasNonIsolatedBlendingDescendants() const final; 95 bool hasNonIsolatedBlendingDescendants() const final;
97 96
98 const char* name() const override { return "LayoutSVGRoot"; } 97 const char* name() const override { return "LayoutSVGRoot"; }
99 98
100 private: 99 private:
101 const LayoutObjectChildList* children() const { return &m_children; } 100 const LayoutObjectChildList* children() const { return &m_children; }
102 LayoutObjectChildList* children() { return &m_children; } 101 LayoutObjectChildList* children() { return &m_children; }
103 102
104 LayoutObjectChildList* virtualChildren() override { return children(); } 103 LayoutObjectChildList* virtualChildren() override { return children(); }
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 bool m_hasBoxDecorationBackground : 1; 178 bool m_hasBoxDecorationBackground : 1;
180 mutable bool m_hasNonIsolatedBlendingDescendants : 1; 179 mutable bool m_hasNonIsolatedBlendingDescendants : 1;
181 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1; 180 mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1;
182 }; 181 };
183 182
184 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, isSVGRoot()); 183 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGRoot, isSVGRoot());
185 184
186 } // namespace blink 185 } // namespace blink
187 186
188 #endif // LayoutSVGRoot_h 187 #endif // LayoutSVGRoot_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698