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

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

Issue 113133002: Rewrite to not store type in m_type and also remove type getter/setter. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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) 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 static void synchronizeRequiredFeatures(SVGElement* contextElement); 127 static void synchronizeRequiredFeatures(SVGElement* contextElement);
128 static void synchronizeRequiredExtensions(SVGElement* contextElement); 128 static void synchronizeRequiredExtensions(SVGElement* contextElement);
129 static void synchronizeSystemLanguage(SVGElement* contextElement); 129 static void synchronizeSystemLanguage(SVGElement* contextElement);
130 130
131 virtual void synchronizeRequiredFeatures() { } 131 virtual void synchronizeRequiredFeatures() { }
132 virtual void synchronizeRequiredExtensions() { } 132 virtual void synchronizeRequiredExtensions() { }
133 virtual void synchronizeSystemLanguage() { } 133 virtual void synchronizeSystemLanguage() { }
134 134
135 #ifndef NDEBUG 135 #ifndef NDEBUG
136 bool isAnimatableAttribute(const QualifiedName&) const; 136 virtual bool isAnimatableAttribute(const QualifiedName&) const;
137 #endif 137 #endif
138 138
139 MutableStylePropertySet* animatedSMILStyleProperties() const; 139 MutableStylePropertySet* animatedSMILStyleProperties() const;
140 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); 140 MutableStylePropertySet* ensureAnimatedSMILStyleProperties();
141 void setUseOverrideComputedStyle(bool); 141 void setUseOverrideComputedStyle(bool);
142 142
143 virtual bool haveLoadedRequiredResources(); 143 virtual bool haveLoadedRequiredResources();
144 144
145 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even tListener>, bool useCapture) OVERRIDE FINAL; 145 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even tListener>, bool useCapture) OVERRIDE FINAL;
146 virtual bool removeEventListener(const AtomicString& eventType, EventListene r*, bool useCapture) OVERRIDE FINAL; 146 virtual bool removeEventListener(const AtomicString& eventType, EventListene r*, bool useCapture) OVERRIDE FINAL;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 return DefaultHash<QualifiedName>::Hash::hash(key); 256 return DefaultHash<QualifiedName>::Hash::hash(key);
257 } 257 }
258 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); } 258 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); }
259 }; 259 };
260 260
261 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement()); 261 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement());
262 262
263 } 263 }
264 264
265 #endif 265 #endif
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/SVGScriptElement/script-type-attribute-expected.txt ('k') | Source/core/svg/SVGScriptElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698