Index: ui/gfx/render_text.h |
diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h |
index 3c87440eddd7f4da2852a61348607c0b348abc70..667342e5a34c78e0a2997af0ac3cf3a934b9ed31 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(int horizontal_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; |
} |