Chromium Code Reviews| Index: content/browser/renderer_host/text_input_manager.h |
| diff --git a/content/browser/renderer_host/text_input_manager.h b/content/browser/renderer_host/text_input_manager.h |
| index b09ae5069420f5c96af8b022c118a5a5e52fc008..fde9d55072f62fdbef215682ede3b786f3e5d111 100644 |
| --- a/content/browser/renderer_host/text_input_manager.h |
| +++ b/content/browser/renderer_host/text_input_manager.h |
| @@ -109,6 +109,12 @@ class CONTENT_EXPORT TextInputManager { |
| const TextSelection* GetTextSelection( |
| RenderWidgetHostViewBase* view = nullptr) const; |
| + // This method will try to obtain the selected text for |view|. If successful, |
| + // it will return true and populate |selected_text| with the right value. |
| + // Otherwise reutrns false. |
|
Avi (use Gerrit)
2016/08/12 15:53:10
returns
EhsanK
2016/08/16 13:36:45
Done.
|
| + bool GetSelectedText(RenderWidgetHostViewBase* view, |
| + base::string16* selected_text) const; |
| + |
| // --------------------------------------------------------------------------- |
| // The following methods are called by RWHVs on the tab to update their IME- |
| // related state. |