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

Side by Side Diff: Source/core/svg/SVGFontFaceElement.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) 2008 Apple Inc. All rights reserved. 4 * Copyright (C) 2008 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 float verticalAdvanceY() const; 44 float verticalAdvanceY() const;
45 int ascent() const; 45 int ascent() const;
46 int descent() const; 46 int descent() const;
47 String fontFamily() const; 47 String fontFamily() const;
48 48
49 SVGFontElement* associatedFontElement() const; 49 SVGFontElement* associatedFontElement() const;
50 void rebuildFontFace(); 50 void rebuildFontFace();
51 51
52 Result<StyleRuleFontFace> fontFaceRule() const { return m_fontFaceRule; } 52 Result<StyleRuleFontFace> fontFaceRule() const { return m_fontFaceRule; }
53 53
54 virtual void accept(Visitor* visitor) const OVERRIDE { SVGElement::accept(vi sitor); }
55
54 private: 56 private:
55 SVGFontFaceElement(const QualifiedName&, const Handle<Document>&); 57 SVGFontFaceElement(const QualifiedName&, const Handle<Document>&);
56 58
57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 59 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
58 60
59 virtual void childrenChanged(bool changedByParser = false, const Handle<Node >& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC ountDelta = 0); 61 virtual void childrenChanged(bool changedByParser = false, const Handle<Node >& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC ountDelta = 0);
60 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode >&) OVERRIDE; 62 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode >&) OVERRIDE;
61 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; 63 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE;
62 64
63 Persistent<StyleRuleFontFace> m_fontFaceRule; 65 Persistent<StyleRuleFontFace> m_fontFaceRule;
64 SVGFontElement* m_fontElement; 66 SVGFontElement* m_fontElement;
65 }; 67 };
66 68
67 } // namespace WebCore 69 } // namespace WebCore
68 70
69 #endif // ENABLE(SVG_FONTS) 71 #endif // ENABLE(SVG_FONTS)
70 #endif 72 #endif
71 73
72 // vim:ts=4:noet 74 // vim:ts=4:noet
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698