| 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 8e2effb582110e5ee47cad75538eb5871782311e..0d02824bfcc38860bb6082b52406c999d8f96884 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.h
|
| +++ b/content/browser/frame_host/render_frame_host_impl.h
|
| @@ -168,6 +168,7 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| void RequestTextSurroundingSelection(
|
| const TextSurroundingSelectionCallback& callback,
|
| int max_length) override;
|
| + void RequestFocusedFormFieldData(FormFieldDataCallback& callback) override;
|
|
|
| // mojom::FrameHost
|
| void GetInterfaceProvider(
|
| @@ -517,6 +518,10 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| #endif
|
| #endif
|
|
|
| + // This method contains response for the focused field info request.
|
| + void OnFocusedFormFieldDataResponse(int request_id,
|
| + const FormFieldData& field_data);
|
| +
|
| // PlzNavigate: Indicates that a navigation is ready to commit and can be
|
| // handled by this RenderFrame.
|
| void CommitNavigation(ResourceResponse* response,
|
| @@ -881,6 +886,9 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| std::map<int, JavaScriptResultCallback> javascript_callbacks_;
|
| std::map<uint64_t, VisualStateCallback> visual_state_callbacks_;
|
|
|
| + // Callbacks for getting text input info.
|
| + std::map<int, FormFieldDataCallback> form_field_data_callbacks_;
|
| +
|
| // RenderFrameHosts that need management of the rendering and input events
|
| // for their frame subtrees require RenderWidgetHosts. This typically
|
| // means frames that are rendered in different processes from their parent
|
|
|