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

Side by Side Diff: third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h

Issue 2350063002: Replace FilterData::filter with lastEffect (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Alex Mathews <possessedpenguinbob@gmail.com> 2 * Copyright (C) 2008 Alex Mathews <possessedpenguinbob@gmail.com>
3 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 3 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 */ 19 */
20 20
21 #ifndef SVGFilterBuilder_h 21 #ifndef SVGFilterBuilder_h
22 #define SVGFilterBuilder_h 22 #define SVGFilterBuilder_h
23 23
24 #include "core/style/SVGComputedStyleDefs.h" 24 #include "core/style/SVGComputedStyleDefs.h"
25 #include "platform/graphics/filters/FilterEffect.h" 25 #include "platform/graphics/filters/FilterEffect.h"
26 #include "platform/heap/Handle.h" 26 #include "platform/heap/Handle.h"
27 #include "wtf/HashMap.h" 27 #include "wtf/HashMap.h"
28 #include "wtf/HashSet.h" 28 #include "wtf/HashSet.h"
29 #include "wtf/PassRefPtr.h" 29 #include "wtf/text/AtomicString.h"
30 #include "wtf/text/AtomicStringHash.h" 30 #include "wtf/text/AtomicStringHash.h"
31 #include "wtf/text/WTFString.h"
32 31
33 class SkPaint; 32 class SkPaint;
34 33
35 namespace blink { 34 namespace blink {
36 35
37 class FloatRect; 36 class FloatRect;
38 class LayoutObject; 37 class LayoutObject;
39 class SVGFilterElement; 38 class SVGFilterElement;
40 39
41 // A map from LayoutObject -> FilterEffect and FilterEffect -> dependent (downst ream) FilterEffects ("reverse DAG"). 40 // A map from LayoutObject -> FilterEffect and FilterEffect -> dependent (downst ream) FilterEffects ("reverse DAG").
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 NamedFilterEffectMap m_builtinEffects; 99 NamedFilterEffectMap m_builtinEffects;
101 NamedFilterEffectMap m_namedEffects; 100 NamedFilterEffectMap m_namedEffects;
102 101
103 Member<FilterEffect> m_lastEffect; 102 Member<FilterEffect> m_lastEffect;
104 Member<SVGFilterGraphNodeMap> m_nodeMap; 103 Member<SVGFilterGraphNodeMap> m_nodeMap;
105 }; 104 };
106 105
107 } // namespace blink 106 } // namespace blink
108 107
109 #endif // SVGFilterBuilder_h 108 #endif // SVGFilterBuilder_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/SVGFilterPainter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698