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

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

Issue 469873002: Delete unused FontPlatformData(FontDescription&) constructor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | 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, 2010 Apple Inc. 2 * Copyright (C) 2006, 2007, 2008, 2010 Apple Inc.
3 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com 3 * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
4 * Copyright (C) 2007 Holger Hans Peter Freyther 4 * Copyright (C) 2007 Holger Hans Peter Freyther
5 * Copyright (C) 2007 Pioneer Research Center USA, Inc. 5 * Copyright (C) 2007 Pioneer Research Center USA, Inc.
6 * Copyright (C) 2010, 2011 Brent Fulgham <bfulgham@webkit.org> 6 * Copyright (C) 2010, 2011 Brent Fulgham <bfulgham@webkit.org>
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 #if OS(MACOSX) 77 #if OS(MACOSX)
78 inline CTFontRef toCTFontRef(NSFont *nsFont) { return reinterpret_cast<CTFontRef >(nsFont); } 78 inline CTFontRef toCTFontRef(NSFont *nsFont) { return reinterpret_cast<CTFontRef >(nsFont); }
79 #endif 79 #endif
80 80
81 class PLATFORM_EXPORT FontPlatformData { 81 class PLATFORM_EXPORT FontPlatformData {
82 public: 82 public:
83 FontPlatformData(WTF::HashTableDeletedValueType); 83 FontPlatformData(WTF::HashTableDeletedValueType);
84 FontPlatformData(); 84 FontPlatformData();
85 FontPlatformData(const FontPlatformData&); 85 FontPlatformData(const FontPlatformData&);
86 FontPlatformData(const FontDescription&, const AtomicString& family);
87 FontPlatformData(float size, bool syntheticBold, bool syntheticOblique, Font Orientation = Horizontal, FontWidthVariant = RegularWidth); 86 FontPlatformData(float size, bool syntheticBold, bool syntheticOblique, Font Orientation = Horizontal, FontWidthVariant = RegularWidth);
88 87
89 #if OS(MACOSX) 88 #if OS(MACOSX)
90 FontPlatformData(NSFont*, float size, bool syntheticBold = false, bool synth eticOblique = false, 89 FontPlatformData(NSFont*, float size, bool syntheticBold = false, bool synth eticOblique = false,
91 FontOrientation = Horizontal, FontWidthVariant = RegularWid th); 90 FontOrientation = Horizontal, FontWidthVariant = RegularWid th);
92 FontPlatformData(CGFontRef, float size, bool syntheticBold, bool syntheticOb lique, FontOrientation, FontWidthVariant); 91 FontPlatformData(CGFontRef, float size, bool syntheticBold, bool syntheticOb lique, FontOrientation, FontWidthVariant);
93 #endif 92 #endif
94 93
95 ~FontPlatformData(); 94 ~FontPlatformData();
96 95
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 197
199 bool m_isColorBitmapFont; 198 bool m_isColorBitmapFont;
200 bool m_isCompositeFontReference; 199 bool m_isCompositeFontReference;
201 }; 200 };
202 201
203 } // namespace blink 202 } // namespace blink
204 203
205 #endif // FontPlatformData_h 204 #endif // FontPlatformData_h
206 205
207 #endif 206 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698