Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 22c246d6e8ed9ddb7d1d4a523f8e9e3dfd793527..05ba8ef74d8e9db85b4e744c8f00cad1d053490b 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_DateTimeValue_Params) |
bulach
2013/02/05 11:54:56
nit: maybe DateTimeDialogValue
Miguel Garcia
2013/02/05 17:44:40
Done.
|
+ 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, dialog_type) |
bulach
2013/02/05 11:54:56
nit: maybe start with dialog_type then date? ..if
Miguel Garcia
2013/02/05 17:44:40
Done.
|
+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_DateTimeValue_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_DateTimeValue_Params /* value */) |
// Required for updating text input state. |
IPC_MESSAGE_ROUTED1(ViewHostMsg_TextInputStateChanged, |