Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: content/common/view_messages.h

Issue 12191005: Move Android Date/Time parsing to the renderer (C++ and ICU) instead of the current parsing that ha… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased view_messages.h and fixed the link issue on the linux bot Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 75ece081b1bea68e3b672e1d6e2d802876b48748..012d8648399fdd47276081dff4784d808a7f8394 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -360,6 +360,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_SelectionBounds_Params)
IPC_STRUCT_MEMBER(gfx::Rect, anchor_rect)
IPC_STRUCT_MEMBER(WebKit::WebTextDirection, anchor_dir)
@@ -924,7 +934,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)
@@ -1999,9 +2010,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,

Powered by Google App Engine
This is Rietveld 408576698