| Index: ui/gfx/render_text.h
|
| diff --git a/ui/gfx/render_text.h b/ui/gfx/render_text.h
|
| index b962e2ada5ddb1404616a163272693b37c03b939..15ea334508da7fdf52c22f6e80c3645eb666dd8b 100644
|
| --- a/ui/gfx/render_text.h
|
| +++ b/ui/gfx/render_text.h
|
| @@ -451,6 +451,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
|
|
|