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

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

Issue 656913006: Remove SVG fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests for landing Created 6 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) 2002, 2003 The Karbon Developers 2 * Copyright (C) 2002, 2003 The Karbon Developers
3 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2013 Apple Inc. All rights reserved. 4 * Copyright (C) 2013 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 return false; 70 return false;
71 if (skipOptionalSVGSpaces(ptr, end)) { 71 if (skipOptionalSVGSpaces(ptr, end)) {
72 if (ptr < end && *ptr == delimiter) { 72 if (ptr < end && *ptr == delimiter) {
73 ptr++; 73 ptr++;
74 skipOptionalSVGSpaces(ptr, end); 74 skipOptionalSVGSpaces(ptr, end);
75 } 75 }
76 } 76 }
77 return ptr < end; 77 return ptr < end;
78 } 78 }
79 79
80 #if ENABLE(SVG_FONTS)
81 Vector<String> parseDelimitedString(const String& input, const char seperator);
82 bool parseKerningUnicodeString(const String& input, UnicodeRanges&, HashSet<Stri ng>& stringList);
83 bool parseGlyphName(const String& input, HashSet<String>& values);
84 #endif
85
86 template<typename CharType> 80 template<typename CharType>
87 bool parseAndSkipTransformType(const CharType*& ptr, const CharType* end, SVGTra nsformType&); 81 bool parseAndSkipTransformType(const CharType*& ptr, const CharType* end, SVGTra nsformType&);
88 SVGTransformType parseTransformType(const String&); 82 SVGTransformType parseTransformType(const String&);
89 83
90 } // namespace blink 84 } // namespace blink
91 85
92 #endif // SVGParserUtilities_h 86 #endif // SVGParserUtilities_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698