#define SVGFontElement_h
#if ENABLE(SVG_FONTS)
-#include "SVGNames.h"
+#include "core/SVGNames.h"
#include "core/svg/SVGAnimatedBoolean.h"
#include "core/svg/SVGElement.h"
#include "core/svg/SVGGlyphMap.h"
#include "core/svg/SVGParserUtilities.h"
-namespace WebCore {
+namespace blink {
// Describe an SVG <hkern>/<vkern> element
struct SVGKerningPair {
typedef Vector<SVGKerningPair> KerningPairVector;
typedef HashMap<KerningPairKey, float> KerningTable;
-class SVGMissingGlyphElement;
-
class SVGFontElement FINAL : public SVGElement {
+ DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtr<SVGFontElement> create(Document&);
+ DECLARE_NODE_FACTORY(SVGFontElement);
void invalidateGlyphCache();
void collectGlyphsForString(const String&, Vector<SVGGlyph>&);
SVGGlyph svgGlyphForGlyph(Glyph);
Glyph missingGlyph();
- SVGMissingGlyphElement* firstMissingGlyphElement() const;
-
private:
explicit SVGFontElement(Document&);
bool m_isGlyphCacheValid;
};
-} // namespace WebCore
+} // namespace blink
#endif // ENABLE(SVG_FONTS)
-#endif
+#endif // SVGFontElement_h