Chromium Code Reviews| Index: content/common/view_messages.h |
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
| index ed0cf62b88434db5495b2057be34758bd697fba2..6ce4dd14c4b1fb42190c9b4d5e178db861a59db5 100644 |
| --- a/content/common/view_messages.h |
| +++ b/content/common/view_messages.h |
| @@ -22,6 +22,7 @@ |
| #include "content/port/common/input_event_ack_state.h" |
| #include "content/public/common/common_param_traits.h" |
| #include "content/public/common/context_menu_params.h" |
| +#include "content/public/common/date_time_suggestion.h" |
| #include "content/public/common/favicon_url.h" |
| #include "content/public/common/file_chooser_params.h" |
| #include "content/public/common/frame_navigate_params.h" |
| @@ -159,6 +160,12 @@ IPC_STRUCT_TRAITS_BEGIN(content::MenuItem) |
| IPC_STRUCT_TRAITS_MEMBER(submenu) |
| IPC_STRUCT_TRAITS_END() |
| +IPC_STRUCT_TRAITS_BEGIN(content::DateTimeSuggestion) |
| + IPC_STRUCT_TRAITS_MEMBER(value) |
| + IPC_STRUCT_TRAITS_MEMBER(localizedValue) |
| + IPC_STRUCT_TRAITS_MEMBER(label) |
| +IPC_STRUCT_TRAITS_END() |
| + |
| IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) |
| IPC_STRUCT_TRAITS_MEMBER(media_type) |
| IPC_STRUCT_TRAITS_MEMBER(x) |
| @@ -400,6 +407,7 @@ IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) |
| IPC_STRUCT_MEMBER(double, minimum) |
| IPC_STRUCT_MEMBER(double, maximum) |
| IPC_STRUCT_MEMBER(double, step) |
| + IPC_STRUCT_MEMBER(std::vector<content::DateTimeSuggestion>, suggestions) |
| IPC_STRUCT_END() |
| IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) |
| @@ -757,6 +765,10 @@ IPC_STRUCT_END() |
| // Messages sent from the browser to the renderer. |
| +// Sets the currently selected node's value to be the given data list value. |
| +IPC_MESSAGE_ROUTED1(ViewMsg_AcceptDataListSuggestion, |
|
Miguel Garcia
2013/10/08 17:44:40
I would not allow the suggestion to crop back, jus
keishi
2013/10/21 17:00:58
Removed, used ViewMsg_ReplaceDateTime
|
| + base::string16 /* accepted data list value */) |
| + |
| // Tells the renderer to cancel an opened date/time dialog. |
| IPC_MESSAGE_ROUTED0(ViewMsg_CancelDateTimeDialog) |