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

Side by Side Diff: third_party/WebKit/Source/core/paint/SVGPaintContext.h

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 10 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) 2007 Rob Buis <buis@kde.org> 2 * Copyright (C) 2007 Rob Buis <buis@kde.org>
3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Google, Inc. All rights reserved. 5 * Copyright (C) 2009 Google, Inc. All rights reserved.
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * Copyright (C) 2012 Zoltan Herczeg <zherczeg@webkit.org>. 7 * Copyright (C) 2012 Zoltan Herczeg <zherczeg@webkit.org>.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 static void paintSubtree(GraphicsContext&, const LayoutObject*); 120 static void paintSubtree(GraphicsContext&, const LayoutObject*);
121 121
122 // TODO(fs): This functions feels a bit misplaced (we don't want this to 122 // TODO(fs): This functions feels a bit misplaced (we don't want this to
123 // turn into the new kitchen sink). Move it if a better location surfaces. 123 // turn into the new kitchen sink). Move it if a better location surfaces.
124 static bool paintForLayoutObject( 124 static bool paintForLayoutObject(
125 const PaintInfo&, 125 const PaintInfo&,
126 const ComputedStyle&, 126 const ComputedStyle&,
127 const LayoutObject&, 127 const LayoutObject&,
128 LayoutSVGResourceMode, 128 LayoutSVGResourceMode,
129 SkPaint&, 129 PaintFlags&,
130 const AffineTransform* additionalPaintServerTransform = nullptr); 130 const AffineTransform* additionalPaintServerTransform = nullptr);
131 131
132 private: 132 private:
133 void applyCompositingIfNecessary(); 133 void applyCompositingIfNecessary();
134 void applyPaintPropertyState(); 134 void applyPaintPropertyState();
135 void applyClipIfNecessary(); 135 void applyClipIfNecessary();
136 136
137 // Return true if no masking is necessary or if the mask is successfully 137 // Return true if no masking is necessary or if the mask is successfully
138 // applied. 138 // applied.
139 bool applyMaskIfNecessary(SVGResources*); 139 bool applyMaskIfNecessary(SVGResources*);
(...skipping 14 matching lines...) Expand all
154 std::unique_ptr<SVGFilterRecordingContext> m_filterRecordingContext; 154 std::unique_ptr<SVGFilterRecordingContext> m_filterRecordingContext;
155 Optional<ScopedPaintChunkProperties> m_scopedPaintChunkProperties; 155 Optional<ScopedPaintChunkProperties> m_scopedPaintChunkProperties;
156 #if DCHECK_IS_ON() 156 #if DCHECK_IS_ON()
157 bool m_applyClipMaskAndFilterIfNecessaryCalled = false; 157 bool m_applyClipMaskAndFilterIfNecessaryCalled = false;
158 #endif 158 #endif
159 }; 159 };
160 160
161 } // namespace blink 161 } // namespace blink
162 162
163 #endif // SVGPaintContext_h 163 #endif // SVGPaintContext_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGMaskPainter.cpp ('k') | third_party/WebKit/Source/core/paint/SVGPaintContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698