| Index: content/common/frame_messages.h
|
| diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
|
| index e9dbe90de58341429b39ee047da83d78b69cdfd9..b2faebf791fe3579d15507149c6b1978d1ee76a0 100644
|
| --- a/content/common/frame_messages.h
|
| +++ b/content/common/frame_messages.h
|
| @@ -31,6 +31,7 @@
|
| #include "content/public/common/context_menu_params.h"
|
| #include "content/public/common/file_chooser_file_info.h"
|
| #include "content/public/common/file_chooser_params.h"
|
| +#include "content/public/common/form_field_data.h"
|
| #include "content/public/common/frame_navigate_params.h"
|
| #include "content/public/common/javascript_message_type.h"
|
| #include "content/public/common/page_importance_signals.h"
|
| @@ -520,6 +521,12 @@ IPC_STRUCT_TRAITS_BEGIN(content::ContentSecurityPolicyHeader)
|
| IPC_STRUCT_TRAITS_MEMBER(source)
|
| IPC_STRUCT_TRAITS_END()
|
|
|
| +IPC_STRUCT_TRAITS_BEGIN(content::FormFieldData)
|
| + IPC_STRUCT_TRAITS_MEMBER(text)
|
| + IPC_STRUCT_TRAITS_MEMBER(placeholder)
|
| + IPC_STRUCT_TRAITS_MEMBER(text_input_type)
|
| +IPC_STRUCT_TRAITS_END()
|
| +
|
| IPC_STRUCT_TRAITS_BEGIN(content::FileChooserFileInfo)
|
| IPC_STRUCT_TRAITS_MEMBER(file_path)
|
| IPC_STRUCT_TRAITS_MEMBER(display_name)
|
| @@ -724,6 +731,10 @@ IPC_MESSAGE_ROUTED0(FrameMsg_DeleteProxy)
|
| IPC_MESSAGE_ROUTED1(FrameMsg_TextSurroundingSelectionRequest,
|
| uint32_t /* max_length */)
|
|
|
| +// Requests information about currently focused text input element from the
|
| +// renderer.
|
| +IPC_MESSAGE_ROUTED1(FrameMsg_FocusedFormFieldDataRequest, int /* request_id */)
|
| +
|
| // Tells the renderer to insert a link to the specified stylesheet. This is
|
| // needed to support navigation transitions.
|
| IPC_MESSAGE_ROUTED1(FrameMsg_AddStyleSheetByURL, std::string)
|
| @@ -1360,6 +1371,12 @@ IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse,
|
| uint32_t, /* startOffset */
|
| uint32_t/* endOffset */)
|
|
|
| +// Response for FrameMsg_FocusedFormFieldDataRequest. Sends info about the
|
| +// currently focused form field.
|
| +IPC_MESSAGE_ROUTED2(FrameHostMsg_FocusedFormFieldDataResponse,
|
| + int, /* request_id */
|
| + content::FormFieldData /* form field info */)
|
| +
|
| // Register a new handler for URL requests with the given scheme.
|
| IPC_MESSAGE_ROUTED4(FrameHostMsg_RegisterProtocolHandler,
|
| std::string /* scheme */,
|
|
|