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

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

Issue 540473002: Mark parsing routines with ENABLE(SVG_FONTS) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove gyp change Created 6 years, 3 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
« no previous file with comments | « no previous file | Source/core/svg/SVGParserUtilities.cpp » ('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) 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 return false; 72 return false;
73 if (skipOptionalSVGSpaces(ptr, end)) { 73 if (skipOptionalSVGSpaces(ptr, end)) {
74 if (ptr < end && *ptr == delimiter) { 74 if (ptr < end && *ptr == delimiter) {
75 ptr++; 75 ptr++;
76 skipOptionalSVGSpaces(ptr, end); 76 skipOptionalSVGSpaces(ptr, end);
77 } 77 }
78 } 78 }
79 return ptr < end; 79 return ptr < end;
80 } 80 }
81 81
82 #if ENABLE(SVG_FONTS)
82 Vector<String> parseDelimitedString(const String& input, const char seperator); 83 Vector<String> parseDelimitedString(const String& input, const char seperator);
83 bool parseKerningUnicodeString(const String& input, UnicodeRanges&, HashSet<Stri ng>& stringList); 84 bool parseKerningUnicodeString(const String& input, UnicodeRanges&, HashSet<Stri ng>& stringList);
84 bool parseGlyphName(const String& input, HashSet<String>& values); 85 bool parseGlyphName(const String& input, HashSet<String>& values);
86 #endif
85 87
86 template<typename CharType> 88 template<typename CharType>
87 bool parseAndSkipTransformType(const CharType*& ptr, const CharType* end, SVGTra nsformType&); 89 bool parseAndSkipTransformType(const CharType*& ptr, const CharType* end, SVGTra nsformType&);
88 SVGTransformType parseTransformType(const String&); 90 SVGTransformType parseTransformType(const String&);
89 91
90 } // namespace blink 92 } // namespace blink
91 93
92 #endif // SVGParserUtilities_h 94 #endif // SVGParserUtilities_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGParserUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698