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

Unified Diff: Source/core/svg/SVGTagNames.in

Issue 330093002: Add support in generate scripts to handle Conditional (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: sort by alpha Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/build/scripts/templates/MakeNames.h.tmpl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGTagNames.in
diff --git a/Source/core/svg/SVGTagNames.in b/Source/core/svg/SVGTagNames.in
index 326b36242f1df77c8a291f3ecdc242432f2f8492..641203e0ecc1890f7e707c3487147c042d3e34dc 100644
--- a/Source/core/svg/SVGTagNames.in
+++ b/Source/core/svg/SVGTagNames.in
@@ -4,11 +4,9 @@ fallbackInterfaceName="SVGUnknownElement"
fallbackJSInterfaceName="SVGElement"
a
-#if ENABLE_SVG_FONTS
-altGlyph
-altGlyphDef
-altGlyphItem
-#endif
+altGlyph Conditional=SVG_FONTS
+altGlyphDef Conditional=SVG_FONTS
+altGlyphItem Conditional=SVG_FONTS
animate noTypeHelpers
animateColor interfaceName=SVGUnknownElement, JSInterfaceName=SVGElement, noConstructor
animateMotion
@@ -47,30 +45,24 @@ feSpotLight
feTile
feTurbulence
filter
-#if ENABLE_SVG_FONTS
-font
-font-face
-font-face-format
-font-face-name
-font-face-src
-font-face-uri
-#endif
+font Conditional=SVG_FONTS
+font-face Conditional=SVG_FONTS
+font-face-format Conditional=SVG_FONTS
+font-face-name Conditional=SVG_FONTS
+font-face-src Conditional=SVG_FONTS
+font-face-uri Conditional=SVG_FONTS
foreignObject
g
-#if ENABLE_SVG_FONTS
-glyph
-glyphRef
-hkern interfaceName=SVGHKernElement
-#endif
+glyph Conditional=SVG_FONTS
+glyphRef Conditional=SVG_FONTS
+hkern Conditional=SVG_FONTS, interfaceName=SVGHKernElement
image
line
linearGradient
marker
mask
metadata
-#if ENABLE_SVG_FONTS
-missing-glyph
-#endif
+missing-glyph Conditional=SVG_FONTS
mpath interfaceName=SVGMPathElement
path
pattern
@@ -90,6 +82,4 @@ title
tspan interfaceName=SVGTSpanElement
use
view
-#if ENABLE_SVG_FONTS
-vkern interfaceName=SVGVKernElement
-#endif
+vkern Conditional=SVG_FONTS, interfaceName=SVGVKernElement
« no previous file with comments | « Source/build/scripts/templates/MakeNames.h.tmpl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698