Chromium Code Reviews| Index: third_party/WebKit/Source/platform/fonts/Font.h |
| diff --git a/third_party/WebKit/Source/platform/fonts/Font.h b/third_party/WebKit/Source/platform/fonts/Font.h |
| index 16924c32eff0fc3da1fa4e4ef27622d5906a471f..19a746219077d0fa7a8d10d6bca8251140349e5d 100644 |
| --- a/third_party/WebKit/Source/platform/fonts/Font.h |
| +++ b/third_party/WebKit/Source/platform/fonts/Font.h |
| @@ -84,6 +84,7 @@ public: |
| // Glyph bounds will be the minimum rect containing all glyph strokes, in coordinates using |
| // (<text run x position>, <baseline position>) as the origin. |
| float width(const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = nullptr, FloatRect* glyphBounds = nullptr) const; |
| + float widthForUnbrokenRun(const TextRun&) const; |
|
drott
2015/12/16 13:17:39
This method and its implementation, i.e. new split
|
| int offsetForPosition(const TextRun&, float position, bool includePartialGlyphs) const; |
| FloatRect selectionRectForText(const TextRun&, const FloatPoint&, int h, int from = 0, int to = -1, bool accountForGlyphBounds = false) const; |