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 2d44e2c7c6af9677cc687f5a655e66ac94b99e80..ea44988074a268943ede74c06a355d41bbfcdac4 100644 |
--- a/content/public/browser/render_frame_host.h |
+++ b/content/public/browser/render_frame_host.h |
@@ -216,6 +216,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. |
+ virtual bool HasSelection() = 0; |
+ |
// Text surrounding selection. |
typedef base::Callback< |
void(const base::string16& content, int start_offset, int end_offset)> |