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

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

Issue 21204002: core/svg: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixes Created 7 years, 4 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) 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2008 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 15 matching lines...) Expand all
26 #include "XMLNames.h" 26 #include "XMLNames.h"
27 #include "core/platform/graphics/SVGGlyph.h" 27 #include "core/platform/graphics/SVGGlyph.h"
28 #include "core/platform/graphics/TextRun.h" 28 #include "core/platform/graphics/TextRun.h"
29 #include "core/platform/graphics/WidthIterator.h" 29 #include "core/platform/graphics/WidthIterator.h"
30 #include "core/rendering/RenderObject.h" 30 #include "core/rendering/RenderObject.h"
31 #include "core/rendering/svg/SVGTextRunRenderingContext.h" 31 #include "core/rendering/svg/SVGTextRunRenderingContext.h"
32 #include "core/svg/SVGAltGlyphElement.h" 32 #include "core/svg/SVGAltGlyphElement.h"
33 #include "core/svg/SVGFontElement.h" 33 #include "core/svg/SVGFontElement.h"
34 #include "core/svg/SVGFontFaceElement.h" 34 #include "core/svg/SVGFontFaceElement.h"
35 #include "core/svg/SVGGlyphElement.h" 35 #include "core/svg/SVGGlyphElement.h"
36 #include <wtf/text/StringBuilder.h> 36 #include "wtf/text/StringBuilder.h"
37 #include <wtf/unicode/CharacterNames.h> 37 #include "wtf/unicode/CharacterNames.h"
38 #include <wtf/unicode/Unicode.h> 38 #include "wtf/unicode/Unicode.h"
39 39
40 using namespace WTF; 40 using namespace WTF;
41 using namespace Unicode; 41 using namespace Unicode;
42 42
43 namespace WebCore { 43 namespace WebCore {
44 44
45 SVGFontData::SVGFontData(SVGFontFaceElement* fontFaceElement) 45 SVGFontData::SVGFontData(SVGFontFaceElement* fontFaceElement)
46 : m_svgFontFaceElement(fontFaceElement) 46 : m_svgFontFaceElement(fontFaceElement)
47 , m_horizontalOriginX(fontFaceElement->horizontalOriginX()) 47 , m_horizontalOriginX(fontFaceElement->horizontalOriginX())
48 , m_horizontalOriginY(fontFaceElement->horizontalOriginY()) 48 , m_horizontalOriginY(fontFaceElement->horizontalOriginY())
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 mirroredCharacters.append(mirroredChar(character)); 311 mirroredCharacters.append(mirroredChar(character));
312 } 312 }
313 } 313 }
314 314
315 return mirroredCharacters.toString(); 315 return mirroredCharacters.toString();
316 } 316 }
317 317
318 } // namespace WebCore 318 } // namespace WebCore
319 319
320 #endif 320 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698