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

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

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 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 kTextpathMethodtypeUnknown = SVGTextPathMethodUnknown,
53 TEXTPATH_METHODTYPE_ALIGN = SVGTextPathMethodAlign, 53 kTextpathMethodtypeAlign = SVGTextPathMethodAlign,
54 TEXTPATH_METHODTYPE_STRETCH = SVGTextPathMethodStretch, 54 kTextpathMethodtypeStretch = SVGTextPathMethodStretch,
55 TEXTPATH_SPACINGTYPE_UNKNOWN = SVGTextPathSpacingUnknown, 55 kTextpathSpacingtypeUnknown = SVGTextPathSpacingUnknown,
56 TEXTPATH_SPACINGTYPE_AUTO = SVGTextPathSpacingAuto, 56 kTextpathSpacingtypeAuto = SVGTextPathSpacingAuto,
57 TEXTPATH_SPACINGTYPE_EXACT = SVGTextPathSpacingExact 57 kTextpathSpacingtypeExact = SVGTextPathSpacingExact
58 }; 58 };
59 59
60 DECLARE_NODE_FACTORY(SVGTextPathElement); 60 DECLARE_NODE_FACTORY(SVGTextPathElement);
61 61
62 SVGAnimatedLength* startOffset() const { return m_startOffset.get(); } 62 SVGAnimatedLength* startOffset() const { return m_startOffset.get(); }
63 SVGAnimatedEnumeration<SVGTextPathMethodType>* method() { return m_method.ge t(); } 63 SVGAnimatedEnumeration<SVGTextPathMethodType>* method() { return m_method.ge t(); }
64 SVGAnimatedEnumeration<SVGTextPathSpacingType>* spacing() { return m_spacing .get(); } 64 SVGAnimatedEnumeration<SVGTextPathSpacingType>* spacing() { return m_spacing .get(); }
65 65
66 DECLARE_VIRTUAL_TRACE(); 66 DECLARE_VIRTUAL_TRACE();
67 67
(...skipping 16 matching lines...) Expand all
84 bool selfHasRelativeLengths() const override; 84 bool selfHasRelativeLengths() const override;
85 85
86 Member<SVGAnimatedLength> m_startOffset; 86 Member<SVGAnimatedLength> m_startOffset;
87 Member<SVGAnimatedEnumeration<SVGTextPathMethodType>> m_method; 87 Member<SVGAnimatedEnumeration<SVGTextPathMethodType>> m_method;
88 Member<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
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTextContentElement.h ('k') | third_party/WebKit/Source/core/svg/SVGTransform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698