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

Side by Side Diff: Source/platform/fonts/GlyphPage.h

Issue 400543004: Rename WebCore namespace to blink in Platform (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « Source/platform/fonts/GlyphMetricsMap.h ('k') | Source/platform/fonts/GlyphPageTreeNode.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) 2006, 2007, 2008, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2013 Apple Inc. All rights reserved.
3 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 3 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 21 matching lines...) Expand all
32 32
33 #include "platform/PlatformExport.h" 33 #include "platform/PlatformExport.h"
34 #include "platform/fonts/CustomFontData.h" 34 #include "platform/fonts/CustomFontData.h"
35 #include "platform/fonts/Glyph.h" 35 #include "platform/fonts/Glyph.h"
36 #include <string.h> 36 #include <string.h>
37 #include "wtf/PassRefPtr.h" 37 #include "wtf/PassRefPtr.h"
38 #include "wtf/RefCounted.h" 38 #include "wtf/RefCounted.h"
39 #include "wtf/RefPtr.h" 39 #include "wtf/RefPtr.h"
40 #include "wtf/unicode/Unicode.h" 40 #include "wtf/unicode/Unicode.h"
41 41
42 namespace WebCore { 42 namespace blink {
43 43
44 class SimpleFontData; 44 class SimpleFontData;
45 class GlyphPageTreeNode; 45 class GlyphPageTreeNode;
46 46
47 // Holds the glyph index and the corresponding SimpleFontData information for a given 47 // Holds the glyph index and the corresponding SimpleFontData information for a given
48 // character. 48 // character.
49 struct GlyphData { 49 struct GlyphData {
50 GlyphData(Glyph g = 0, const SimpleFontData* f = 0) 50 GlyphData(Glyph g = 0, const SimpleFontData* f = 0)
51 : glyph(g) 51 : glyph(g)
52 , fontData(f) 52 , fontData(f)
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 Glyph m_glyphs[size]; 215 Glyph m_glyphs[size];
216 216
217 // NOTE: This array has (GlyphPage::size) elements if m_fontDataForAllGlyphs is null. 217 // NOTE: This array has (GlyphPage::size) elements if m_fontDataForAllGlyphs is null.
218 const SimpleFontData* m_perGlyphFontData[0]; 218 const SimpleFontData* m_perGlyphFontData[0];
219 }; 219 };
220 220
221 #if COMPILER(MSVC) 221 #if COMPILER(MSVC)
222 #pragma warning(pop) 222 #pragma warning(pop)
223 #endif 223 #endif
224 224
225 } // namespace WebCore 225 } // namespace blink
226 226
227 #endif // GlyphPage_h 227 #endif // GlyphPage_h
OLDNEW
« no previous file with comments | « Source/platform/fonts/GlyphMetricsMap.h ('k') | Source/platform/fonts/GlyphPageTreeNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698