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

Side by Side Diff: Source/platform/fonts/mac/ComplexTextController.h

Issue 327243005: Remove GlyphBufferAdvance abstraction. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase again 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 | 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 15 matching lines...) Expand all
26 #define ComplexTextController_h 26 #define ComplexTextController_h
27 27
28 #include "platform/fonts/GlyphBuffer.h" 28 #include "platform/fonts/GlyphBuffer.h"
29 #include "wtf/HashSet.h" 29 #include "wtf/HashSet.h"
30 #include "wtf/PassRefPtr.h" 30 #include "wtf/PassRefPtr.h"
31 #include "wtf/RefCounted.h" 31 #include "wtf/RefCounted.h"
32 #include "wtf/RetainPtr.h" 32 #include "wtf/RetainPtr.h"
33 #include "wtf/text/WTFString.h" 33 #include "wtf/text/WTFString.h"
34 #include "wtf/unicode/Unicode.h" 34 #include "wtf/unicode/Unicode.h"
35 #include "wtf/Vector.h" 35 #include "wtf/Vector.h"
36 #include <ApplicationServices/ApplicationServices.h>
36 37
37 typedef unsigned short CGGlyph; 38 typedef unsigned short CGGlyph;
38 39
39 typedef const struct __CTRun * CTRunRef; 40 typedef const struct __CTRun * CTRunRef;
40 typedef const struct __CTLine * CTLineRef; 41 typedef const struct __CTLine * CTLineRef;
41 42
42 namespace WebCore { 43 namespace WebCore {
43 44
44 class Font; 45 class Font;
45 class SimpleFontData; 46 class SimpleFontData;
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 float m_maxGlyphBoundingBoxX; 176 float m_maxGlyphBoundingBoxX;
176 float m_minGlyphBoundingBoxY; 177 float m_minGlyphBoundingBoxY;
177 float m_maxGlyphBoundingBoxY; 178 float m_maxGlyphBoundingBoxY;
178 179
179 unsigned m_lastRoundingGlyph; 180 unsigned m_lastRoundingGlyph;
180 }; 181 };
181 182
182 } // namespace WebCore 183 } // namespace WebCore
183 184
184 #endif // ComplexTextController_h 185 #endif // ComplexTextController_h
OLDNEW
« no previous file with comments | « Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp ('k') | Source/platform/fonts/mac/ComplexTextController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698