| Index: ui/gfx/render_text.h
|
| diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
|
| index 44ec07708ff3c2fafe2ddcfc5e63b09545ff490d..9e94e962964a24202ccd8f46a1c77d6fbb2693d3 100644
|
| --- a/ui/gfx/render_text.h
|
| +++ b/ui/gfx/render_text.h
|
| @@ -529,9 +529,17 @@ class GFX_EXPORT RenderText {
|
| // at the point, returns a nearby word. |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 GetDecoratedWordAtPoint(const Point& point,
|
| - DecoratedText* decorated_word,
|
| - Point* baseline_point);
|
| + bool GetDecoratedWordAndBaselineAtPoint(const Point& point,
|
| + 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 GetDecoratedTextAndBaselineForRange(const Range& range,
|
| + DecoratedText* decorated_text,
|
| + Point* baseline_point);
|
|
|
| // Retrieves the text in the given |range|.
|
| base::string16 GetTextFromRange(const Range& range) const;
|
|
|