Index: content/browser/frame_host/render_frame_host_impl.h |
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h |
index 538b119bb2bb6134070b9306054d695c70b8756d..2172b9b5aa03359c8a581955e472ff242dd47d5e 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -162,6 +162,7 @@ class CONTENT_EXPORT RenderFrameHostImpl |
int GetProxyCount() override; |
void FilesSelectedInChooser(const std::vector<FileChooserFileInfo>& files, |
FileChooserParams::Mode permissions) override; |
+ bool HasSelection() override; |
void RequestTextSurroundingSelection( |
const TextSurroundingSelectionCallback& callback, |
int max_length) override; |
@@ -1030,6 +1031,9 @@ class CONTENT_EXPORT RenderFrameHostImpl |
// called (no pending instance should be set). |
bool should_reuse_web_ui_; |
+ // If true, then the RenderFrame has selected text. |
+ bool has_selection_; |
+ |
// PlzNavigate: The LoFi state of the last navigation. This is used during |
// history navigation of subframes to ensure that subframes navigate with the |
// same LoFi status as the top-level frame. |