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

Side by Side Diff: Source/platform/fonts/mac/ComplexTextController.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007, 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 21 matching lines...) Expand all
32 #include "wtf/text/WTFString.h" 32 #include "wtf/text/WTFString.h"
33 #include "wtf/unicode/Unicode.h" 33 #include "wtf/unicode/Unicode.h"
34 #include "wtf/Vector.h" 34 #include "wtf/Vector.h"
35 #include <ApplicationServices/ApplicationServices.h> 35 #include <ApplicationServices/ApplicationServices.h>
36 36
37 typedef unsigned short CGGlyph; 37 typedef unsigned short CGGlyph;
38 38
39 typedef const struct __CTRun * CTRunRef; 39 typedef const struct __CTRun * CTRunRef;
40 typedef const struct __CTLine * CTLineRef; 40 typedef const struct __CTLine * CTLineRef;
41 41
42 namespace WebCore { 42 namespace blink {
43 43
44 class Font; 44 class Font;
45 class GlyphBuffer; 45 class GlyphBuffer;
46 class SimpleFontData; 46 class SimpleFontData;
47 class TextRun; 47 class TextRun;
48 48
49 enum GlyphIterationStyle { IncludePartialGlyphs, ByWholeGlyphs }; 49 enum GlyphIterationStyle { IncludePartialGlyphs, ByWholeGlyphs };
50 50
51 // ComplexTextController is responsible for rendering and measuring glyphs for 51 // ComplexTextController is responsible for rendering and measuring glyphs for
52 // complex scripts on OS X. 52 // complex scripts on OS X.
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 bool m_afterExpansion; 168 bool m_afterExpansion;
169 169
170 HashSet<const SimpleFontData*>* m_fallbackFonts; 170 HashSet<const SimpleFontData*>* m_fallbackFonts;
171 171
172 float m_minGlyphBoundingBoxX; 172 float m_minGlyphBoundingBoxX;
173 float m_maxGlyphBoundingBoxX; 173 float m_maxGlyphBoundingBoxX;
174 float m_minGlyphBoundingBoxY; 174 float m_minGlyphBoundingBoxY;
175 float m_maxGlyphBoundingBoxY; 175 float m_maxGlyphBoundingBoxY;
176 }; 176 };
177 177
178 } // namespace WebCore 178 } // namespace blink
179 179
180 #endif // ComplexTextController_h 180 #endif // ComplexTextController_h
OLDNEW
« no previous file with comments | « Source/platform/fonts/linux/FontPlatformDataLinuxHarfBuzz.cpp ('k') | Source/platform/fonts/mac/ComplexTextController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698