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

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

Issue 344693003: Reduce forward declarations in core/svg (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « Source/core/svg/SVGFontFaceElement.h ('k') | Source/core/svg/SVGInteger.h » ('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) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
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 13 matching lines...) Expand all
24 #include "core/svg/SVGParserUtilities.h" 24 #include "core/svg/SVGParserUtilities.h"
25 #include "platform/fonts/Latin1TextIterator.h" 25 #include "platform/fonts/Latin1TextIterator.h"
26 #include "platform/fonts/SVGGlyph.h" 26 #include "platform/fonts/SVGGlyph.h"
27 #include "platform/text/SurrogatePairAwareTextIterator.h" 27 #include "platform/text/SurrogatePairAwareTextIterator.h"
28 #include "wtf/HashMap.h" 28 #include "wtf/HashMap.h"
29 #include "wtf/Vector.h" 29 #include "wtf/Vector.h"
30 30
31 namespace WebCore { 31 namespace WebCore {
32 32
33 struct GlyphMapNode; 33 struct GlyphMapNode;
34 class SVGFontData;
35 34
36 typedef HashMap<UChar32, RefPtr<GlyphMapNode> > GlyphMapLayer; 35 typedef HashMap<UChar32, RefPtr<GlyphMapNode> > GlyphMapLayer;
37 36
38 struct GlyphMapNode : public RefCounted<GlyphMapNode> { 37 struct GlyphMapNode : public RefCounted<GlyphMapNode> {
39 private: 38 private:
40 GlyphMapNode() { } 39 GlyphMapNode() { }
41 public: 40 public:
42 static PassRefPtr<GlyphMapNode> create() { return adoptRef(new GlyphMapNode) ; } 41 static PassRefPtr<GlyphMapNode> create() { return adoptRef(new GlyphMapNode) ; }
43 42
44 Vector<SVGGlyph> glyphs; 43 Vector<SVGGlyph> glyphs;
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 Vector<SVGGlyph> m_glyphTable; 245 Vector<SVGGlyph> m_glyphTable;
247 HashMap<String, Glyph> m_namedGlyphs; 246 HashMap<String, Glyph> m_namedGlyphs;
248 HashMap<String, Glyph> m_idGlyphs; 247 HashMap<String, Glyph> m_idGlyphs;
249 int m_currentPriority; 248 int m_currentPriority;
250 }; 249 };
251 250
252 } 251 }
253 252
254 #endif // ENABLE(SVG_FONTS) 253 #endif // ENABLE(SVG_FONTS)
255 #endif // SVGGlyphMap_h 254 #endif // SVGGlyphMap_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFontFaceElement.h ('k') | Source/core/svg/SVGInteger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698