| 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..0236248af9b89f1ad98ba8d5e3c5c9f86224b735 100644
|
| --- a/content/public/browser/render_frame_host.h
|
| +++ b/content/public/browser/render_frame_host.h
|
| @@ -40,6 +40,9 @@ class RenderViewHost;
|
| class RenderWidgetHostView;
|
| class SiteInstance;
|
| struct FileChooserFileInfo;
|
| +struct FormFieldData;
|
| +
|
| +using FormFieldDataCallback = base::Callback<void(const FormFieldData&)>;
|
|
|
| // The interface provides a communication conduit with a frame in the renderer.
|
| class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
|
| @@ -219,6 +222,9 @@ class CONTENT_EXPORT RenderFrameHost : public IPC::Listener,
|
| const TextSurroundingSelectionCallback& callback,
|
| int max_length) = 0;
|
|
|
| + // Retrieves the text input info associated with the current form field.
|
| + virtual void RequestFocusedFormFieldData(FormFieldDataCallback& callback) = 0;
|
| +
|
| private:
|
| // This interface should only be implemented inside content.
|
| friend class RenderFrameHostImpl;
|
|
|