| Index: ui/views/word_lookup_client.h
|
| diff --git a/ui/views/word_lookup_client.h b/ui/views/word_lookup_client.h
|
| index d9c200f5566728032778cb9e267d42a1d74d07fb..a76b35e01c4f47bfaf24d74ba98214a4fe9f8333 100644
|
| --- a/ui/views/word_lookup_client.h
|
| +++ b/ui/views/word_lookup_client.h
|
| @@ -26,6 +26,13 @@ class VIEWS_EXPORT WordLookupClient {
|
| gfx::DecoratedText* decorated_word,
|
| gfx::Point* baseline_point) = 0;
|
|
|
| + // Retrieves the text that is currently selected 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 text can be retrieved.
|
| + virtual bool GetDecoratedTextFromSelection(gfx::DecoratedText* decorated_text,
|
| + gfx::Point* baseline_point) = 0;
|
| +
|
| protected:
|
| virtual ~WordLookupClient() {}
|
| };
|
|
|