Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index ed0cf62b88434db5495b2057be34758bd697fba2..fcc971248dfd5a39e5dd9c6d2fd0304ec21f3ff7 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) |
@@ -388,18 +395,12 @@ IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) |
IPC_STRUCT_END() |
IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) |
- IPC_STRUCT_MEMBER(int, dialog_type) |
- IPC_STRUCT_MEMBER(int, year) |
- IPC_STRUCT_MEMBER(int, month) |
- IPC_STRUCT_MEMBER(int, day) |
- IPC_STRUCT_MEMBER(int, hour) |
- IPC_STRUCT_MEMBER(int, minute) |
- IPC_STRUCT_MEMBER(int, second) |
- IPC_STRUCT_MEMBER(int, milli) |
- IPC_STRUCT_MEMBER(int, week) |
+ IPC_STRUCT_MEMBER(ui::TextInputType, dialog_type) |
+ IPC_STRUCT_MEMBER(double, current_value) |
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) |
@@ -945,7 +946,7 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats, |
// Replaces a date time input field. |
IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, |
- ViewHostMsg_DateTimeDialogValue_Params /* value */) |
+ double /* value */) |
// Copies the image at location x, y to the clipboard (if there indeed is an |
// image at that location). |