| Index: ui/gfx/render_text.h
|
| diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
|
| index a5bda21596a73b196ffa6dd98fa54d336cbc1964..7e0b48310116e1fa2cf8ac004389c6bae197a084 100644
|
| --- a/ui/gfx/render_text.h
|
| +++ b/ui/gfx/render_text.h
|
| @@ -463,6 +463,9 @@ class GFX_EXPORT RenderText {
|
| // amid multi-character graphemes are allowed here, unlike IsValidCursorIndex.
|
| virtual bool IsValidLogicalIndex(size_t index) const;
|
|
|
| + // Returns true if this instance supports text selection.
|
| + virtual bool IsSelectionSupported() const = 0;
|
| +
|
| // Get the visual bounds of a cursor at |caret|. These bounds typically
|
| // represent a vertical line if |insert_mode| is true. Pass false for
|
| // |insert_mode| to retrieve the bounds of the associated glyph. These bounds
|
|
|