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

Unified Diff: content/common/view_messages.h

Issue 85643002: Transfer date/time value to chooser as double (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@doubledate2
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
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index df630d3e0c5b514d1f7ae2031fc753accd39a4cb..fd7733c7f70184c047c671b02e9f99244a103381 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)
@@ -973,7 +966,7 @@ IPC_MESSAGE_ROUTED1(ViewMsg_SetBrowserRenderingStats,
// Replaces a date time input field.
IPC_MESSAGE_ROUTED1(ViewMsg_ReplaceDateTime,
- ViewHostMsg_DateTimeDialogValue_Params /* value */)
+ double /* dialog_value */)
Miguel Garcia 2013/11/26 16:07:08 so if you are passing milliseconds since epoch why
keishi 2013/11/27 06:58:37 The HTML spec defines min/max for the date/time va
Miguel Garcia 2013/11/27 11:17:24 Ok, would be nice to know what happens if we actua
keishi 2013/11/29 03:30:14 Blink only send valid values to chromium so the va
// Copies the image at location x, y to the clipboard (if there indeed is an
// image at that location).

Powered by Google App Engine
This is Rietveld 408576698