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

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

Issue 2570223002: [SPv2] Associate effect property nodes for SVG paint chunks (Closed)
Patch Set: rebased Created 4 years 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) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 LayoutGeometryMap&) const final; 50 LayoutGeometryMap&) const final;
51 bool mapToVisualRectInAncestorSpace( 51 bool mapToVisualRectInAncestorSpace(
52 const LayoutBoxModelObject* ancestor, 52 const LayoutBoxModelObject* ancestor,
53 LayoutRect&, 53 LayoutRect&,
54 VisualRectFlags = DefaultVisualRectFlags) const final; 54 VisualRectFlags = DefaultVisualRectFlags) const final;
55 55
56 AffineTransform localSVGTransform() const final { return m_localTransform; } 56 AffineTransform localSVGTransform() const final { return m_localTransform; }
57 57
58 PaintLayerType layerTypeRequired() const final { return NoPaintLayer; } 58 PaintLayerType layerTypeRequired() const final { return NoPaintLayer; }
59 59
60 bool hasNonIsolatedBlendingDescendants() const final { return false; }
61
60 protected: 62 protected:
61 void willBeDestroyed() override; 63 void willBeDestroyed() override;
62 64
63 AffineTransform m_localTransform; 65 AffineTransform m_localTransform;
64 66
65 bool isOfType(LayoutObjectType type) const override { 67 bool isOfType(LayoutObjectType type) const override {
66 return type == LayoutObjectSVG || LayoutBlockFlow::isOfType(type); 68 return type == LayoutObjectSVG || LayoutBlockFlow::isOfType(type);
67 } 69 }
68 70
69 private: 71 private:
(...skipping 12 matching lines...) Expand all
82 HitTestAction) override; 84 HitTestAction) override;
83 85
84 // The inherited version doesn't check for SVG effects. 86 // The inherited version doesn't check for SVG effects.
85 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override { 87 bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const override {
86 return false; 88 return false;
87 } 89 }
88 }; 90 };
89 91
90 } // namespace blink 92 } // namespace blink
91 #endif // LayoutSVGBlock_h 93 #endif // LayoutSVGBlock_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698