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

Side by Side Diff: Source/core/svg/SVGHKernElement.cpp

Issue 15942008: Remove unused includes from core/inspector and core/svg .cpp files (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebase and address pdr's comments Created 7 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 unified diff | Download patch
« no previous file with comments | « Source/core/svg/SVGGlyphRefElement.cpp ('k') | Source/core/svg/SVGImageElement.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) 2007 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
3 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
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 *
11 * This library is distributed in the hope that it will be useful, 11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details. 14 * Library General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU Library General Public License 16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to 17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. 19 * Boston, MA 02110-1301, USA.
20 */ 20 */
21 21
22 #include "config.h" 22 #include "config.h"
23 23
24 #if ENABLE(SVG_FONTS) 24 #if ENABLE(SVG_FONTS)
25 #include "core/svg/SVGHKernElement.h" 25 #include "core/svg/SVGHKernElement.h"
26 26
27 #include "SVGNames.h" 27 #include "SVGNames.h"
28 #include "core/svg/SVGFontElement.h" 28 #include "core/svg/SVGFontElement.h"
29 #include "core/svg/SVGFontFaceElement.h"
30 29
31 namespace WebCore { 30 namespace WebCore {
32 31
33 inline SVGHKernElement::SVGHKernElement(const QualifiedName& tagName, Document* document) 32 inline SVGHKernElement::SVGHKernElement(const QualifiedName& tagName, Document* document)
34 : SVGElement(tagName, document) 33 : SVGElement(tagName, document)
35 { 34 {
36 ASSERT(hasTagName(SVGNames::hkernTag)); 35 ASSERT(hasTagName(SVGNames::hkernTag));
37 ScriptWrappable::init(this); 36 ScriptWrappable::init(this);
38 } 37 }
39 38
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 && parseKerningUnicodeString(u1, kerningPair.unicodeRange1, kerningPair. unicodeName1) 78 && parseKerningUnicodeString(u1, kerningPair.unicodeRange1, kerningPair. unicodeName1)
80 && parseKerningUnicodeString(u2, kerningPair.unicodeRange2, kerningPair. unicodeName2)) { 79 && parseKerningUnicodeString(u2, kerningPair.unicodeRange2, kerningPair. unicodeName2)) {
81 kerningPair.kerning = fastGetAttribute(SVGNames::kAttr).string().toFloat (); 80 kerningPair.kerning = fastGetAttribute(SVGNames::kAttr).string().toFloat ();
82 kerningPairs.append(kerningPair); 81 kerningPairs.append(kerningPair);
83 } 82 }
84 } 83 }
85 84
86 } 85 }
87 86
88 #endif // ENABLE(SVG_FONTS) 87 #endif // ENABLE(SVG_FONTS)
OLDNEW
« no previous file with comments | « Source/core/svg/SVGGlyphRefElement.cpp ('k') | Source/core/svg/SVGImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698