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

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

Issue 15821009: Move property setting/removing/addParsedProperty/addParsedProperties functions to MutableStylePrope… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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
« no previous file with comments | « Source/core/svg/SVGAnimateElement.cpp ('k') | Source/core/svg/SVGElement.cpp » ('j') | 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) 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 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 virtual void synchronizeRequiredFeatures() { } 103 virtual void synchronizeRequiredFeatures() { }
104 virtual void synchronizeRequiredExtensions() { } 104 virtual void synchronizeRequiredExtensions() { }
105 virtual void synchronizeSystemLanguage() { } 105 virtual void synchronizeSystemLanguage() { }
106 106
107 virtual SVGAttributeToPropertyMap& localAttributeToPropertyMap() const; 107 virtual SVGAttributeToPropertyMap& localAttributeToPropertyMap() const;
108 108
109 #ifndef NDEBUG 109 #ifndef NDEBUG
110 bool isAnimatableAttribute(const QualifiedName&) const; 110 bool isAnimatableAttribute(const QualifiedName&) const;
111 #endif 111 #endif
112 112
113 StylePropertySet* animatedSMILStyleProperties() const; 113 MutableStylePropertySet* animatedSMILStyleProperties() const;
114 StylePropertySet* ensureAnimatedSMILStyleProperties(); 114 MutableStylePropertySet* ensureAnimatedSMILStyleProperties();
115 void setUseOverrideComputedStyle(bool); 115 void setUseOverrideComputedStyle(bool);
116 116
117 virtual bool haveLoadedRequiredResources(); 117 virtual bool haveLoadedRequiredResources();
118 118
119 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even tListener>, bool useCapture) OVERRIDE; 119 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even tListener>, bool useCapture) OVERRIDE;
120 virtual bool removeEventListener(const AtomicString& eventType, EventListene r*, bool useCapture) OVERRIDE; 120 virtual bool removeEventListener(const AtomicString& eventType, EventListene r*, bool useCapture) OVERRIDE;
121 121
122 protected: 122 protected:
123 SVGElement(const QualifiedName&, Document*, ConstructionType = CreateSVGElem ent); 123 SVGElement(const QualifiedName&, Document*, ConstructionType = CreateSVGElem ent);
124 124
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 175
176 inline const SVGElement* toSVGElement(const Node* node) 176 inline const SVGElement* toSVGElement(const Node* node)
177 { 177 {
178 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); 178 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement());
179 return static_cast<const SVGElement*>(node); 179 return static_cast<const SVGElement*>(node);
180 } 180 }
181 181
182 } 182 }
183 183
184 #endif 184 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGAnimateElement.cpp ('k') | Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698