| Index: ui/gfx/render_text.h
|
| diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
|
| index 7e0b48310116e1fa2cf8ac004389c6bae197a084..b9024f05c765f7f593e47652dea1d7eafd173ae5 100644
|
| --- a/ui/gfx/render_text.h
|
| +++ b/ui/gfx/render_text.h
|
| @@ -525,6 +525,14 @@ class GFX_EXPORT RenderText {
|
| DecoratedText* decorated_word,
|
| Point* baseline_point);
|
|
|
| + // Retrieves the text at the given |range| along with its styling
|
| + // information. |baseline_point| should correspond to the baseline point of
|
| + // the leftmost glyph of the |word| in the view's coordinates. Returns
|
| + // false, if no word can be retrieved.
|
| + bool GetDecoratedTextForRange(const Range& range,
|
| + DecoratedText* decorated_text,
|
| + Point* baseline_point);
|
| +
|
| // Retrieves the text in the given |range|.
|
| base::string16 GetTextFromRange(const Range& range) const;
|
|
|
|
|