| Index: content/common/view_messages.h
|
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h
|
| index ffa017ce8363800440233c2c8eabb85fe7007855..0435c762272c3f78c0119b23c8fa1aec44e361d0 100644
|
| --- a/content/common/view_messages.h
|
| +++ b/content/common/view_messages.h
|
| @@ -26,6 +26,7 @@
|
| #include "content/common/view_message_enums.h"
|
| #include "content/public/common/common_param_traits.h"
|
| #include "content/public/common/favicon_url.h"
|
| +#include "content/public/common/form_field_data.h"
|
| #include "content/public/common/menu_item.h"
|
| #include "content/public/common/page_state.h"
|
| #include "content/public/common/page_zoom.h"
|
| @@ -200,6 +201,12 @@ IPC_STRUCT_TRAITS_BEGIN(content::MenuItem)
|
| IPC_STRUCT_TRAITS_MEMBER(submenu)
|
| 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::DateTimeSuggestion)
|
| IPC_STRUCT_TRAITS_MEMBER(value)
|
| IPC_STRUCT_TRAITS_MEMBER(localized_value)
|
| @@ -579,6 +586,10 @@ IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap,
|
| // Fetches complete rendered content of a web page as plain text.
|
| IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText)
|
|
|
| +// Requests the renderer for information about currenly focused text input
|
| +// element.
|
| +IPC_MESSAGE_ROUTED1(ViewMsg_GetFocusedFormFieldData, int)
|
| +
|
| #if defined(OS_ANDROID)
|
| // Notifies the renderer whether hiding/showing the top controls is enabled
|
| // and whether or not to animate to the proper state.
|
| @@ -795,6 +806,12 @@ IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission,
|
| base::FilePath /* plugin_path */)
|
| #endif // defined(ENABLE_PLUGINS)
|
|
|
| +// Reply message for ViewMsg_GetFormTextInputInfo. Sends info about the
|
| +// currently focused form field.
|
| +IPC_MESSAGE_ROUTED2(ViewHostMsg_SetFocusedFormFieldData,
|
| + int,
|
| + content::FormFieldData)
|
| +
|
| // Send the tooltip text for the current mouse position to the browser.
|
| IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText,
|
| base::string16 /* tooltip text string */,
|
|
|