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

Unified Diff: content/common/view_messages.h

Issue 64913002: Transfer date/time value to chooser as double (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@datetime3
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/content_renderer.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/content_renderer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698