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

Side by Side Diff: third_party/WebKit/Source/platform/fonts/SimpleFontData.h

Issue 2590213002: Remove leftover method signature after simple path removal (Closed)
Patch Set: Created 3 years, 12 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 | « 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 * This file is part of the internal font implementation. 2 * This file is part of the internal font implementation.
3 * 3 *
4 * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved. 4 * Copyright (C) 2006, 2008, 2010 Apple Inc. All rights reserved.
5 * Copyright (C) 2007-2008 Torch Mobile, Inc. 5 * Copyright (C) 2007-2008 Torch Mobile, Inc.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 bool isSegmented() const override; 148 bool isSegmented() const override;
149 bool shouldSkipDrawing() const override { 149 bool shouldSkipDrawing() const override {
150 return m_customFontData && m_customFontData->shouldSkipDrawing(); 150 return m_customFontData && m_customFontData->shouldSkipDrawing();
151 } 151 }
152 152
153 const GlyphData& missingGlyphData() const { return m_missingGlyphData; } 153 const GlyphData& missingGlyphData() const { return m_missingGlyphData; }
154 void setMissingGlyphData(const GlyphData& glyphData) { 154 void setMissingGlyphData(const GlyphData& glyphData) {
155 m_missingGlyphData = glyphData; 155 m_missingGlyphData = glyphData;
156 } 156 }
157 157
158 bool canRenderCombiningCharacterSequence(const UChar*, size_t) const;
159
160 CustomFontData* customFontData() const { return m_customFontData.get(); } 158 CustomFontData* customFontData() const { return m_customFontData.get(); }
161 159
162 protected: 160 protected:
163 SimpleFontData(const FontPlatformData&, 161 SimpleFontData(const FontPlatformData&,
164 PassRefPtr<CustomFontData> customData, 162 PassRefPtr<CustomFontData> customData,
165 bool isTextOrientationFallback = false, 163 bool isTextOrientationFallback = false,
166 bool subpixelAscentDescent = false); 164 bool subpixelAscentDescent = false);
167 165
168 SimpleFontData(PassRefPtr<CustomFontData> customData, 166 SimpleFontData(PassRefPtr<CustomFontData> customData,
169 float fontSize, 167 float fontSize,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 254
257 m_glyphToWidthMap.setMetricsForGlyph(glyph, width); 255 m_glyphToWidthMap.setMetricsForGlyph(glyph, width);
258 return width; 256 return width;
259 #endif 257 #endif
260 } 258 }
261 259
262 DEFINE_FONT_DATA_TYPE_CASTS(SimpleFontData, false); 260 DEFINE_FONT_DATA_TYPE_CASTS(SimpleFontData, false);
263 261
264 } // namespace blink 262 } // namespace blink
265 #endif // SimpleFontData_h 263 #endif // SimpleFontData_h
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