Chromium Code Reviews| Index: third_party/WebKit/Source/platform/graphics/GraphicsContext.h |
| diff --git a/third_party/WebKit/Source/platform/graphics/GraphicsContext.h b/third_party/WebKit/Source/platform/graphics/GraphicsContext.h |
| index 24566fbd1ce3a313dee0d346ef072fa775a293e8..946bdd4a01db54d06edf67e60014ea4368594a06 100644 |
| --- a/third_party/WebKit/Source/platform/graphics/GraphicsContext.h |
| +++ b/third_party/WebKit/Source/platform/graphics/GraphicsContext.h |
| @@ -263,6 +263,11 @@ class PLATFORM_EXPORT GraphicsContext { |
| int from = 0, |
| int to = -1); |
| + int getTextIntercepts(const Font&, |
|
f(malita)
2016/10/13 18:09:19
Is there much value in exposing this helper on Gra
drott
2016/10/14 15:15:34
No, as mentioned above, I initially thought, I'd n
|
| + const TextRunPaintInfo&, |
| + const SkScalar* bounds, |
| + SkScalar* intervals); |
| + |
| void drawLineForText(const FloatPoint&, float width, bool printing); |
| enum DocumentMarkerLineStyle { |
| DocumentMarkerSpellingLineStyle, |