Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 22c246d6e8ed9ddb7d1d4a523f8e9e3dfd793527..839f268bc6ffec7be6c493ed02f25f99ed2dbeac 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -358,6 +358,16 @@ IPC_STRUCT_BEGIN(ViewHostMsg_TextInputState_Params) |
IPC_STRUCT_MEMBER(bool, show_ime_if_needed) |
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_END() |
+ |
IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) |
// URL for the worker script. |
IPC_STRUCT_MEMBER(GURL, url) |
@@ -914,7 +924,8 @@ IPC_MESSAGE_ROUTED0(ViewMsg_Delete) |
IPC_MESSAGE_ROUTED0(ViewMsg_SelectAll) |
// Replaces a date time input field. |
-IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, string16 /* text */) |
+IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, |
+ ViewHostMsg_DateTimeDialogValue_Params /* value */) |
IPC_MESSAGE_ROUTED0(ViewMsg_Unselect) |
@@ -1986,9 +1997,8 @@ IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, |
bool /* reverse */) |
// Required for opening a date/time dialog |
-IPC_MESSAGE_ROUTED2(ViewHostMsg_OpenDateTimeDialog, |
- int /* type */, |
- std::string /* value */) |
+IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenDateTimeDialog, |
+ ViewHostMsg_DateTimeDialogValue_Params /* value */) |
// Required for updating text input state. |
IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, |