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

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

Issue 24527003: [oilpan] Implement accept methods to trace the class hierarchy of SVGElement and all sub-classes. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 2 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) 2007 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2010. 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 float horizontalKerningForPairOfStringsAndGlyphs(const String& u1, const Str ing& g1, const String& u2, const String& g2) const; 64 float horizontalKerningForPairOfStringsAndGlyphs(const String& u1, const Str ing& g1, const String& u2, const String& g2) const;
65 float verticalKerningForPairOfStringsAndGlyphs(const String& u1, const Strin g& g1, const String& u2, const String& g2) const; 65 float verticalKerningForPairOfStringsAndGlyphs(const String& u1, const Strin g& g1, const String& u2, const String& g2) const;
66 66
67 // Used by SimpleFontData/WidthIterator. 67 // Used by SimpleFontData/WidthIterator.
68 SVGGlyph svgGlyphForGlyph(Glyph); 68 SVGGlyph svgGlyphForGlyph(Glyph);
69 Glyph missingGlyph(); 69 Glyph missingGlyph();
70 70
71 SVGMissingGlyphElement* firstMissingGlyphElement() const; 71 SVGMissingGlyphElement* firstMissingGlyphElement() const;
72 72
73 virtual void accept(Visitor* visitor) const OVERRIDE { SVGStyledElement::acc ept(visitor); }
74
73 private: 75 private:
74 SVGFontElement(const QualifiedName&, const Handle<Document>&); 76 SVGFontElement(const QualifiedName&, const Handle<Document>&);
75 77
76 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; } 78 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; }
77 79
78 void ensureGlyphCache(); 80 void ensureGlyphCache();
79 void registerLigaturesInGlyphCache(Vector<String>&); 81 void registerLigaturesInGlyphCache(Vector<String>&);
80 82
81 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFontElement) 83 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFontElement)
82 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired) 84 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq uired)
83 END_DECLARE_ANIMATED_PROPERTIES 85 END_DECLARE_ANIMATED_PROPERTIES
84 86
85 KerningPairVector m_horizontalKerningPairs; 87 KerningPairVector m_horizontalKerningPairs;
86 KerningPairVector m_verticalKerningPairs; 88 KerningPairVector m_verticalKerningPairs;
87 SVGGlyphMap m_glyphMap; 89 SVGGlyphMap m_glyphMap;
88 Glyph m_missingGlyph; 90 Glyph m_missingGlyph;
89 bool m_isGlyphCacheValid; 91 bool m_isGlyphCacheValid;
90 }; 92 };
91 93
92 } // namespace WebCore 94 } // namespace WebCore
93 95
94 #endif // ENABLE(SVG_FONTS) 96 #endif // ENABLE(SVG_FONTS)
95 #endif 97 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698