| 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 e9667981ec6ec0426901568d8db38a04f3068e54..3d1d6092fa41056576d03ecc478deb38b94f3852 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.h
|
| +++ b/content/browser/frame_host/render_frame_host_impl.h
|
| @@ -167,6 +167,7 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| void RequestTextSurroundingSelection(
|
| const TextSurroundingSelectionCallback& callback,
|
| int max_length) override;
|
| + void RequestFocusedFormFieldData(FormFieldDataCallback& callback) override;
|
|
|
| // mojom::FrameHost
|
| void GetInterfaceProvider(
|
| @@ -658,6 +659,8 @@ class CONTENT_EXPORT RenderFrameHostImpl
|
| void OnTextSurroundingSelectionResponse(const base::string16& content,
|
| uint32_t start_offset,
|
| uint32_t end_offset);
|
| + void OnFocusedFormFieldDataResponse(int request_id,
|
| + const FormFieldData& field_data);
|
| void OnDidAccessInitialDocument();
|
| void OnDidChangeOpener(int32_t opener_routing_id);
|
| void OnDidChangeName(const std::string& name, const std::string& unique_name);
|
| @@ -878,6 +881,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
|
|
|