Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index df630d3e0c5b514d1f7ae2031fc753accd39a4cb..fe107132448883d9f1e37c485d80f905c787691e 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -393,15 +393,8 @@ 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) |
@@ -972,8 +965,9 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats, |
content::BrowserRenderingStats /* stats */) |
// Replaces a date time input field. |
-IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime, |
- ViewHostMsg_DateTimeDialogValue_Params /* value */) |
+IPC_MESSAGE_ROUTED2(ViewMsg_ReplaceDateTime, |
+ int /* identifier */, |
+ double /* dialog_value */) |
// Copies the image at location x, y to the clipboard (if there indeed is an |
// image at that location). |
@@ -2024,7 +2018,8 @@ IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, |
bool /* reverse */) |
// Required for opening a date/time dialog |
-IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenDateTimeDialog, |
+IPC_MESSAGE_ROUTED2(ViewHostMsg_OpenDateTimeDialog, |
+ int /* identifier */, |
ViewHostMsg_DateTimeDialogValue_Params /* value */) |
IPC_MESSAGE_ROUTED3(ViewHostMsg_TextInputTypeChanged, |