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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGTextPathElement.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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) 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 27 matching lines...) Expand all
38 SVGTextPathSpacingAuto, 38 SVGTextPathSpacingAuto,
39 SVGTextPathSpacingExact 39 SVGTextPathSpacingExact
40 }; 40 };
41 41
42 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGTextPath MethodType>(); 42 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGTextPath MethodType>();
43 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGTextPath SpacingType>(); 43 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGTextPath SpacingType>();
44 44
45 class SVGTextPathElement final : public SVGTextContentElement, 45 class SVGTextPathElement final : public SVGTextContentElement,
46 public SVGURIReference { 46 public SVGURIReference {
47 DEFINE_WRAPPERTYPEINFO(); 47 DEFINE_WRAPPERTYPEINFO();
48 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGTextPathElement); 48 USING_GARBAGE_COLLECTED_MIXIN(SVGTextPathElement);
49 public: 49 public:
50 // Forward declare enumerations in the W3C naming scheme, for IDL generation . 50 // Forward declare enumerations in the W3C naming scheme, for IDL generation .
51 enum { 51 enum {
52 TEXTPATH_METHODTYPE_UNKNOWN = SVGTextPathMethodUnknown, 52 TEXTPATH_METHODTYPE_UNKNOWN = SVGTextPathMethodUnknown,
53 TEXTPATH_METHODTYPE_ALIGN = SVGTextPathMethodAlign, 53 TEXTPATH_METHODTYPE_ALIGN = SVGTextPathMethodAlign,
54 TEXTPATH_METHODTYPE_STRETCH = SVGTextPathMethodStretch, 54 TEXTPATH_METHODTYPE_STRETCH = SVGTextPathMethodStretch,
55 TEXTPATH_SPACINGTYPE_UNKNOWN = SVGTextPathSpacingUnknown, 55 TEXTPATH_SPACINGTYPE_UNKNOWN = SVGTextPathSpacingUnknown,
56 TEXTPATH_SPACINGTYPE_AUTO = SVGTextPathSpacingAuto, 56 TEXTPATH_SPACINGTYPE_AUTO = SVGTextPathSpacingAuto,
57 TEXTPATH_SPACINGTYPE_EXACT = SVGTextPathSpacingExact 57 TEXTPATH_SPACINGTYPE_EXACT = SVGTextPathSpacingExact
58 }; 58 };
(...skipping 17 matching lines...) Expand all
76 InsertionNotificationRequest insertedInto(ContainerNode*) override; 76 InsertionNotificationRequest insertedInto(ContainerNode*) override;
77 void removedFrom(ContainerNode*) override; 77 void removedFrom(ContainerNode*) override;
78 78
79 void svgAttributeChanged(const QualifiedName&) override; 79 void svgAttributeChanged(const QualifiedName&) override;
80 80
81 LayoutObject* createLayoutObject(const ComputedStyle&) override; 81 LayoutObject* createLayoutObject(const ComputedStyle&) override;
82 bool layoutObjectIsNeeded(const ComputedStyle&) override; 82 bool layoutObjectIsNeeded(const ComputedStyle&) override;
83 83
84 bool selfHasRelativeLengths() const override; 84 bool selfHasRelativeLengths() const override;
85 85
86 RefPtrWillBeMember<SVGAnimatedLength> m_startOffset; 86 Member<SVGAnimatedLength> m_startOffset;
87 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGTextPathMethodType>> m_method; 87 Member<SVGAnimatedEnumeration<SVGTextPathMethodType>> m_method;
88 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGTextPathSpacingType>> m_spacing ; 88 Member<SVGAnimatedEnumeration<SVGTextPathSpacingType>> m_spacing;
89 }; 89 };
90 90
91 } // namespace blink 91 } // namespace blink
92 92
93 #endif // SVGTextPathElement_h 93 #endif // SVGTextPathElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698