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

Side by Side Diff: Source/core/svg/SVGPatternElement.h

Issue 22043003: [oilpan] Handlify childrenChanged. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.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,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 private: 56 private:
57 SVGPatternElement(const QualifiedName&, Handle<Document>); 57 SVGPatternElement(const QualifiedName&, Handle<Document>);
58 58
59 virtual bool isValid() const { return SVGTests::isValid(); } 59 virtual bool isValid() const { return SVGTests::isValid(); }
60 virtual bool needsPendingResourceHandling() const { return false; } 60 virtual bool needsPendingResourceHandling() const { return false; }
61 61
62 bool isSupportedAttribute(const QualifiedName&); 62 bool isSupportedAttribute(const QualifiedName&);
63 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 63 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
64 virtual void svgAttributeChanged(const QualifiedName&); 64 virtual void svgAttributeChanged(const QualifiedName&);
65 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0); 65 virtual void childrenChanged(bool changedByParser = false, const Handle<Node >& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC ountDelta = 0);
66 66
67 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); 67 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
68 68
69 virtual bool selfHasRelativeLengths() const; 69 virtual bool selfHasRelativeLengths() const;
70 70
71 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGPatternElement) 71 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGPatternElement)
72 DECLARE_ANIMATED_LENGTH(X, x) 72 DECLARE_ANIMATED_LENGTH(X, x)
73 DECLARE_ANIMATED_LENGTH(Y, y) 73 DECLARE_ANIMATED_LENGTH(Y, y)
74 DECLARE_ANIMATED_LENGTH(Width, width) 74 DECLARE_ANIMATED_LENGTH(Width, width)
75 DECLARE_ANIMATED_LENGTH(Height, height) 75 DECLARE_ANIMATED_LENGTH(Height, height)
76 DECLARE_ANIMATED_ENUMERATION(PatternUnits, patternUnits, SVGUnitTypes::S VGUnitType) 76 DECLARE_ANIMATED_ENUMERATION(PatternUnits, patternUnits, SVGUnitTypes::S VGUnitType)
77 DECLARE_ANIMATED_ENUMERATION(PatternContentUnits, patternContentUnits, S VGUnitTypes::SVGUnitType) 77 DECLARE_ANIMATED_ENUMERATION(PatternContentUnits, patternContentUnits, S VGUnitTypes::SVGUnitType)
78 DECLARE_ANIMATED_TRANSFORM_LIST(PatternTransform, patternTransform) 78 DECLARE_ANIMATED_TRANSFORM_LIST(PatternTransform, patternTransform)
79 DECLARE_ANIMATED_STRING(Href, href) 79 DECLARE_ANIMATED_STRING(Href, href)
80 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired) 80 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired)
81 DECLARE_ANIMATED_RECT(ViewBox, viewBox) 81 DECLARE_ANIMATED_RECT(ViewBox, viewBox)
82 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspect Ratio) 82 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspect Ratio)
83 END_DECLARE_ANIMATED_PROPERTIES 83 END_DECLARE_ANIMATED_PROPERTIES
84 84
85 // SVGTests 85 // SVGTests
86 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe atures(this); } 86 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe atures(this); }
87 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired Extensions(this); } 87 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired Extensions(this); }
88 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua ge(this); } 88 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua ge(this); }
89 }; 89 };
90 90
91 } // namespace WebCore 91 } // namespace WebCore
92 92
93 #endif // ENABLE(SVG) 93 #endif // ENABLE(SVG)
94 #endif 94 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698