Chromium Code Reviews| Index: content/public/browser/render_frame_host.h |
| diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h |
| index acfde9b4464b34405454ee9805801d8c1514cede..394248c25ec4be469213b025c5ee88bab7b9ed01 100644 |
| --- a/content/public/browser/render_frame_host.h |
| +++ b/content/public/browser/render_frame_host.h |
| @@ -211,6 +211,9 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, |
| const std::vector<content::FileChooserFileInfo>& files, |
| FileChooserParams::Mode permissions) = 0; |
| + // Returns true if the frame has selection. |
|
nasko
2016/11/14 20:28:52
nit: "has a selection."
Lei Zhang
2016/11/14 23:52:48
Done.
|
| + virtual bool HasSelection() = 0; |
| + |
| // Text surrounding selection. |
| typedef base::Callback< |
| void(const base::string16& content, int start_offset, int end_offset)> |