| Index: ui/gfx/render_text_harfbuzz.h
|
| diff --git a/ui/gfx/render_text_harfbuzz.h b/ui/gfx/render_text_harfbuzz.h
|
| index 59ce92f21c31398eace9628103e883f332ace9f1..f19f04f05290ae892c237c2dcf36fcbd14a85f5d 100644
|
| --- a/ui/gfx/render_text_harfbuzz.h
|
| +++ b/ui/gfx/render_text_harfbuzz.h
|
| @@ -29,8 +29,8 @@ struct GFX_EXPORT TextRunHarfBuzz {
|
| // value is in run-space (0 corresponds to the first glyph in the run).
|
| Range CharRangeToGlyphRange(const Range& range) const;
|
|
|
| - // Returns whether the given shaped run contains any missing glyphs.
|
| - bool HasMissingGlyphs() const;
|
| + // Returns the number of missing glyphs in the shaped text run.
|
| + size_t CountMissingGlyphs() const;
|
|
|
| // Returns the X coordinate of the leading or |trailing| edge of the glyph
|
| // starting at |text_index|, relative to the left of the text (not the view).
|
| @@ -112,6 +112,8 @@ class GFX_EXPORT RenderTextHarfBuzz : public RenderText {
|
|
|
| // Shape the glyphs needed for the text |run|.
|
| void ShapeRun(internal::TextRunHarfBuzz* run);
|
| + void ShapeRunWithFont(internal::TextRunHarfBuzz* run,
|
| + const std::string& font);
|
|
|
| // Text runs in logical order.
|
| ScopedVector<internal::TextRunHarfBuzz> runs_;
|
|
|