Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 605e465b065337e3b8e863edbbdaedda2c80bbfa..b9311add91554c9fd99d580a2a4daaf1f938372f 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -15,6 +15,7 @@ |
#include "content/common/content_export.h" |
#include "content/common/content_param_traits.h" |
#include "content/common/cookie_data.h" |
+#include "content/common/date_time_suggestion.h" |
#include "content/common/navigation_gesture.h" |
#include "content/common/pepper_renderer_instance_data.h" |
#include "content/common/view_message_enums.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(localized_value) |
+ 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) |
@@ -393,18 +400,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, dialog_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) |
@@ -970,7 +971,7 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats, |
// Replaces a date time input field. |
IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, |
- ViewHostMsg_DateTimeDialogValue_Params /* value */) |
+ double /* dialog_value */) |
// Copies the image at location x, y to the clipboard (if there indeed is an |
// image at that location). |