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

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

Issue 14022022: FINALizing of the Node hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Action review comments. Created 7 years, 7 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
« no previous file with comments | « Source/core/svg/SVGTextElement.h ('k') | Source/core/svg/SVGTitleElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 static SVGTextPathSpacingType fromString(const String& value) 90 static SVGTextPathSpacingType fromString(const String& value)
91 { 91 {
92 if (value == "auto") 92 if (value == "auto")
93 return SVGTextPathSpacingAuto; 93 return SVGTextPathSpacingAuto;
94 if (value == "exact") 94 if (value == "exact")
95 return SVGTextPathSpacingExact; 95 return SVGTextPathSpacingExact;
96 return SVGTextPathSpacingUnknown; 96 return SVGTextPathSpacingUnknown;
97 } 97 }
98 }; 98 };
99 99
100 class SVGTextPathElement : public SVGTextContentElement, 100 class SVGTextPathElement FINAL : public SVGTextContentElement,
101 public SVGURIReference { 101 public SVGURIReference {
102 public: 102 public:
103 // Forward declare enumerations in the W3C naming scheme, for IDL generation . 103 // Forward declare enumerations in the W3C naming scheme, for IDL generation .
104 enum { 104 enum {
105 TEXTPATH_METHODTYPE_UNKNOWN = SVGTextPathMethodUnknown, 105 TEXTPATH_METHODTYPE_UNKNOWN = SVGTextPathMethodUnknown,
106 TEXTPATH_METHODTYPE_ALIGN = SVGTextPathMethodAlign, 106 TEXTPATH_METHODTYPE_ALIGN = SVGTextPathMethodAlign,
107 TEXTPATH_METHODTYPE_STRETCH = SVGTextPathMethodStretch, 107 TEXTPATH_METHODTYPE_STRETCH = SVGTextPathMethodStretch,
108 TEXTPATH_SPACINGTYPE_UNKNOWN = SVGTextPathSpacingUnknown, 108 TEXTPATH_SPACINGTYPE_UNKNOWN = SVGTextPathSpacingUnknown,
109 TEXTPATH_SPACINGTYPE_AUTO = SVGTextPathSpacingAuto, 109 TEXTPATH_SPACINGTYPE_AUTO = SVGTextPathSpacingAuto,
110 TEXTPATH_SPACINGTYPE_EXACT = SVGTextPathSpacingExact 110 TEXTPATH_SPACINGTYPE_EXACT = SVGTextPathSpacingExact
111 }; 111 };
(...skipping 26 matching lines...) Expand all
138 DECLARE_ANIMATED_ENUMERATION(Method, method, SVGTextPathMethodType) 138 DECLARE_ANIMATED_ENUMERATION(Method, method, SVGTextPathMethodType)
139 DECLARE_ANIMATED_ENUMERATION(Spacing, spacing, SVGTextPathSpacingType) 139 DECLARE_ANIMATED_ENUMERATION(Spacing, spacing, SVGTextPathSpacingType)
140 DECLARE_ANIMATED_STRING(Href, href) 140 DECLARE_ANIMATED_STRING(Href, href)
141 END_DECLARE_ANIMATED_PROPERTIES 141 END_DECLARE_ANIMATED_PROPERTIES
142 }; 142 };
143 143
144 } // namespace WebCore 144 } // namespace WebCore
145 145
146 #endif // ENABLE(SVG) 146 #endif // ENABLE(SVG)
147 #endif 147 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGTextElement.h ('k') | Source/core/svg/SVGTitleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698