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

Side by Side Diff: Source/platform/fonts/harfbuzz/HarfBuzzShaper.h

Issue 631803002: Replacing the OVERRIDE with override and FINAL with final (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase issue Created 6 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "wtf/Vector.h" 42 #include "wtf/Vector.h"
43 43
44 #include <unicode/uscript.h> 44 #include <unicode/uscript.h>
45 45
46 namespace blink { 46 namespace blink {
47 47
48 class Font; 48 class Font;
49 class GlyphBufferWithOffsets; 49 class GlyphBufferWithOffsets;
50 class SimpleFontData; 50 class SimpleFontData;
51 51
52 class HarfBuzzShaper FINAL { 52 class HarfBuzzShaper final {
53 public: 53 public:
54 enum ForTextEmphasisOrNot { 54 enum ForTextEmphasisOrNot {
55 NotForTextEmphasis, 55 NotForTextEmphasis,
56 ForTextEmphasis 56 ForTextEmphasis
57 }; 57 };
58 58
59 HarfBuzzShaper(const Font*, const TextRun&, ForTextEmphasisOrNot = NotForTex tEmphasis, HashSet<const SimpleFontData*>* fallbackFonts = 0); 59 HarfBuzzShaper(const Font*, const TextRun&, ForTextEmphasisOrNot = NotForTex tEmphasis, HashSet<const SimpleFontData*>* fallbackFonts = 0);
60 60
61 void setDrawRange(int from, int to); 61 void setDrawRange(int from, int to);
62 bool shape(GlyphBuffer* = 0); 62 bool shape(GlyphBuffer* = 0);
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 float m_totalWidth; 156 float m_totalWidth;
157 FloatBoxExtent m_glyphBoundingBox; 157 FloatBoxExtent m_glyphBoundingBox;
158 HashSet<const SimpleFontData*>* m_fallbackFonts; 158 HashSet<const SimpleFontData*>* m_fallbackFonts;
159 159
160 friend struct CachedShapingResults; 160 friend struct CachedShapingResults;
161 }; 161 };
162 162
163 } // namespace blink 163 } // namespace blink
164 164
165 #endif // HarfBuzzShaper_h 165 #endif // HarfBuzzShaper_h
OLDNEW
« no previous file with comments | « Source/platform/exported/WebStorageQuotaCallbacks.cpp ('k') | Source/platform/graphics/Canvas2DImageBufferSurface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698