diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/svg/SVGStyledElement.h | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/svg/SVGStyledElement.h')
-rw-r--r-- | WebCore/svg/SVGStyledElement.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/WebCore/svg/SVGStyledElement.h b/WebCore/svg/SVGStyledElement.h index 231f7ec..e21db97 100644 --- a/WebCore/svg/SVGStyledElement.h +++ b/WebCore/svg/SVGStyledElement.h @@ -24,15 +24,15 @@ #define SVGStyledElement_h #if ENABLE(SVG) -#include "AffineTransform.h" -#include "Path.h" +#include "HTMLNames.h" #include "SVGElement.h" -#include "SVGLength.h" -#include "SVGResource.h" #include "SVGStylable.h" namespace WebCore { + extern char SVGStyledElementIdentifier[]; + class SVGResource; + class SVGStyledElement : public SVGElement, public SVGStylable { public: @@ -55,13 +55,15 @@ namespace WebCore { virtual void svgAttributeChanged(const QualifiedName&); - virtual void childrenChanged(bool changedByParser = false); + virtual void childrenChanged(bool changedByParser = false, Node* beforeChange = 0, Node* afterChange = 0, int childCountDelta = 0); // Centralized place to force a manual style resolution. Hacky but needed for now. - RenderStyle* resolveStyle(RenderStyle* parentStyle); + PassRefPtr<RenderStyle> resolveStyle(RenderStyle* parentStyle); void invalidateResourcesInAncestorChain() const; virtual void detach(); + + void setInstanceUpdatesBlocked(bool); protected: virtual bool hasRelativeValues() const { return true; } @@ -69,9 +71,7 @@ namespace WebCore { static int cssPropertyIdForSVGAttributeName(const QualifiedName&); private: - ANIMATED_PROPERTY_DECLARATIONS(SVGStyledElement, String, String, ClassName, className) - - void updateElementInstance(SVGDocumentExtensions*) const; + ANIMATED_PROPERTY_DECLARATIONS(SVGStyledElement, SVGStyledElementIdentifier, HTMLNames::classAttrString, String, ClassName, className) }; } // namespace WebCore |