Index: ui/gfx/render_text.h |
diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h |
index 3c87440eddd7f4da2852a61348607c0b348abc70..c69063fcf8073a22a25f88ed686616c7301a83a2 100644 |
--- a/ui/gfx/render_text.h |
+++ b/ui/gfx/render_text.h |
@@ -421,6 +421,9 @@ class GFX_EXPORT RenderText { |
// Rect can't have a negative width.) |
virtual Range GetGlyphBounds(size_t index) = 0; |
+ const Vector2d& GetUpdatedDisplayOffset(); |
+ void SetDisplayOffset(const Vector2d& offset); |
+ |
protected: |
RenderText(); |
@@ -454,8 +457,6 @@ class GFX_EXPORT RenderText { |
// returns the difference between them. |
virtual int GetLayoutTextBaseline() = 0; |
- const Vector2d& GetUpdatedDisplayOffset(); |
- |
void set_cached_bounds_and_offset_valid(bool valid) { |
cached_bounds_and_offset_valid_ = valid; |
} |