| 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 39ef3676631ec7140d4d141398cab27bbf795619..d1dbaa6f00f621bffc348ac039c34b60d45120c1 100644
|
| --- a/content/public/browser/render_frame_host.h
|
| +++ b/content/public/browser/render_frame_host.h
|
| @@ -40,6 +40,9 @@
|
| 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,
|
| @@ -222,6 +225,9 @@
|
| 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;
|
|
|