Chromium Code Reviews| Index: ui/gfx/render_text.h |
| diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h |
| index 3bee634709ef4b516c0485c664955b8e56504589..6170c57c28a88251cfa2c7214fe709995789ffb8 100644 |
| --- a/ui/gfx/render_text.h |
| +++ b/ui/gfx/render_text.h |
| @@ -461,6 +461,10 @@ class GFX_EXPORT RenderText { |
| const Vector2d& GetUpdatedDisplayOffset(); |
| void SetDisplayOffset(int horizontal_offset); |
| + // Returns the line offset from the origin after applying the text alignment |
| + // and the display offset. |
| + Vector2d GetLineOffset(size_t line_number); |
|
sky
2015/03/16 21:29:57
Move implementation to match new position.
Jun Mukai
2015/03/16 22:05:37
Done.
|
| + |
| protected: |
| RenderText(); |
| @@ -569,10 +573,6 @@ class GFX_EXPORT RenderText { |
| void ApplyCompositionAndSelectionStyles(); |
| void UndoCompositionAndSelectionStyles(); |
| - // Returns the line offset from the origin after applying the text alignment |
| - // and the display offset. |
| - Vector2d GetLineOffset(size_t line_number); |
| - |
| // Convert points from the text space to the view space and back. Handles the |
| // display area, display offset, application LTR/RTL mode and multiline. |
| Point ToTextPoint(const Point& point); |