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

Issue 85643002: Transfer date/time value to chooser as double (Closed)

Created:
7 years ago by keishi
Modified:
7 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@doubledate2
Visibility:
Public.

Description

Transfer date/time value to chooser as double BUG=324151 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238594

Patch Set 1 #

Total comments: 31

Patch Set 2 : Fixed #

Total comments: 4

Patch Set 3 : used ui::TextInputType #

Total comments: 2

Patch Set 4 : y #

Patch Set 5 : WIP #

Patch Set 6 : WIP #

Patch Set 7 : WIP2 #

Patch Set 8 : WIP2 #

Patch Set 9 : WIP3 #

Patch Set 10 : WIP4 #

Patch Set 11 : WIP5 #

Patch Set 12 : Fixed Gregorian Calendar bug #

Patch Set 13 : WIP #

Patch Set 14 : Fix #

Patch Set 15 : Fixed #

Total comments: 6

Patch Set 16 : Added COMPILE_ASSERT #

Patch Set 17 : #

Total comments: 2

Patch Set 18 : Removed ToTextInputType #

Patch Set 19 : Rebased #

Patch Set 20 : #

Patch Set 21 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+653 lines, -924 lines) Patch
M content/browser/android/date_time_chooser_android.h View 1 2 2 chunks +7 lines, -21 lines 0 comments Download
M content/browser/android/date_time_chooser_android.cc View 1 2 3 3 chunks +11 lines, -42 lines 0 comments Download
content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -8 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +3 lines, -10 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/DateTimeChooserAndroid.java View 3 chunks +10 lines, -23 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java View 1 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -4 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +112 lines, -120 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/MonthPicker.java View 1 2 3 4 5 6 7 8 9 2 chunks +14 lines, -6 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/MonthPickerDialog.java View 1 1 chunk +2 lines, -11 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/TwoFieldDatePicker.java View 1 2 3 4 5 6 7 8 9 4 chunks +8 lines, -7 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/TwoFieldDatePickerDialog.java View 1 5 chunks +12 lines, -8 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/WeekPicker.java View 1 2 3 4 5 6 7 8 9 2 chunks +19 lines, -8 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/WeekPickerDialog.java View 1 2 chunks +3 lines, -12 lines 0 comments Download
A content/public/android/javatests/src/org/chromium/content/browser/input/InputDialogContainerTest.java View 1 2 3 4 5 6 7 8 9 10 11 13 1 chunk +404 lines, -0 lines 0 comments Download
D content/renderer/date_time_formatter.h View 1 chunk +0 lines, -81 lines 0 comments Download
D content/renderer/date_time_formatter.cc View 1 chunk +0 lines, -300 lines 0 comments Download
D content/renderer/date_time_formatter_unittest.cc View 1 chunk +0 lines, -225 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +5 lines, -0 lines 0 comments Download
content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +10 lines, -1 line 0 comments Download
M content/renderer/renderer_date_time_picker.h View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/renderer_date_time_picker.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +27 lines, -33 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
Miguel Garcia
So I still don't understand why can you have more than one dialog opened at ...
7 years ago (2013-11-26 16:07:08 UTC) #1
keishi
Thanks for reviewing! > So I still don't understand why can you have more than ...
7 years ago (2013-11-27 06:58:37 UTC) #2
keishi
jam@ could you review the files below? Thanks! content/renderer/date_time_formatter.cc content/renderer/date_time_formatter.h content/renderer/date_time_formatter_unittest.cc content/renderer/render_view_impl.cc content/renderer/render_view_impl.h content/renderer/renderer_date_time_picker.cc content/renderer/renderer_date_time_picker.h ...
7 years ago (2013-11-27 07:07:03 UTC) #3
jochen (gone - plz use gerrit)
https://codereview.chromium.org/85643002/diff/30001/content/browser/android/date_time_chooser_android.h File content/browser/android/date_time_chooser_android.h (right): https://codereview.chromium.org/85643002/diff/30001/content/browser/android/date_time_chooser_android.h#newcode29 content/browser/android/date_time_chooser_android.h:29: int dialog_type, why don't you pass in ui::TextInputType? https://codereview.chromium.org/85643002/diff/30001/content/browser/android/date_time_chooser_android.h#newcode30 ...
7 years ago (2013-11-27 08:59:04 UTC) #4
keishi
https://codereview.chromium.org/85643002/diff/30001/content/browser/android/date_time_chooser_android.h File content/browser/android/date_time_chooser_android.h (right): https://codereview.chromium.org/85643002/diff/30001/content/browser/android/date_time_chooser_android.h#newcode29 content/browser/android/date_time_chooser_android.h:29: int dialog_type, On 2013/11/27 08:59:04, jochen wrote: > why ...
7 years ago (2013-11-27 10:11:52 UTC) #5
jochen (gone - plz use gerrit)
What is the value called in the spec? Can you please also update the CL ...
7 years ago (2013-11-27 10:23:54 UTC) #6
Miguel Garcia
Just a small concern with casting from double to long plus a request for the ...
7 years ago (2013-11-27 11:17:24 UTC) #7
keishi
On 2013/11/27 10:23:54, jochen wrote: > What is the value called in the spec? There ...
7 years ago (2013-11-28 01:45:58 UTC) #8
kenrb
lgtm
7 years ago (2013-11-28 02:43:24 UTC) #9
keishi
https://codereview.chromium.org/85643002/diff/50001/content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java File content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java (right): https://codereview.chromium.org/85643002/diff/50001/content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java#newcode65 content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java:65: On 2013/11/27 11:17:24, Miguel Garcia wrote: > This is ...
7 years ago (2013-11-28 16:27:26 UTC) #10
keishi
miguelg@ joth@ jam@ jochen@ please take a look again. Thanks! https://codereview.chromium.org/85643002/diff/1/content/common/view_messages.h File content/common/view_messages.h (right): https://codereview.chromium.org/85643002/diff/1/content/common/view_messages.h#newcode969 ...
7 years ago (2013-11-29 03:30:13 UTC) #11
Miguel Garcia
lgtm Thanks for all the changes and the test!!
7 years ago (2013-11-29 11:20:25 UTC) #12
joth
lgtm https://codereview.chromium.org/85643002/diff/280001/content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java File content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java (right): https://codereview.chromium.org/85643002/diff/280001/content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java#newcode15 content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java:15: import android.util.Log; Nit: remove
7 years ago (2013-11-29 18:56:39 UTC) #13
jochen (gone - plz use gerrit)
https://codereview.chromium.org/85643002/diff/280001/content/renderer/render_view_impl.h File content/renderer/render_view_impl.h (right): https://codereview.chromium.org/85643002/diff/280001/content/renderer/render_view_impl.h#newcode269 content/renderer/render_view_impl.h:269: void DismissDateTimeDialog() { please move body to .cc file ...
7 years ago (2013-12-02 10:35:22 UTC) #14
keishi
https://codereview.chromium.org/85643002/diff/280001/content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java File content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java (right): https://codereview.chromium.org/85643002/diff/280001/content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java#newcode15 content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java:15: import android.util.Log; On 2013/11/29 18:56:40, joth wrote: > Nit: ...
7 years ago (2013-12-02 11:25:56 UTC) #15
jochen (gone - plz use gerrit)
https://codereview.chromium.org/85643002/diff/320001/content/renderer/renderer_date_time_picker.cc File content/renderer/renderer_date_time_picker.cc (right): https://codereview.chromium.org/85643002/diff/320001/content/renderer/renderer_date_time_picker.cc#newcode58 content/renderer/renderer_date_time_picker.cc:58: message.dialog_type = ToTextInputType(chooser_params_.type); with the compile asserts, you can ...
7 years ago (2013-12-03 08:44:48 UTC) #16
jochen (gone - plz use gerrit)
lgtm with that change
7 years ago (2013-12-03 08:46:08 UTC) #17
keishi
https://codereview.chromium.org/85643002/diff/320001/content/renderer/renderer_date_time_picker.cc File content/renderer/renderer_date_time_picker.cc (right): https://codereview.chromium.org/85643002/diff/320001/content/renderer/renderer_date_time_picker.cc#newcode58 content/renderer/renderer_date_time_picker.cc:58: message.dialog_type = ToTextInputType(chooser_params_.type); On 2013/12/03 08:44:48, jochen wrote: > ...
7 years ago (2013-12-03 09:14:57 UTC) #18
Miguel Garcia
lgtm again module Marcus's comments
7 years ago (2013-12-03 15:14:22 UTC) #19
jam
lgtm
7 years ago (2013-12-03 23:47:11 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/85643002/340001
7 years ago (2013-12-04 01:07:06 UTC) #21
commit-bot: I haz the power
Failed to apply patch for content/renderer/render_view_impl.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years ago (2013-12-04 01:07:17 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/85643002/380001
7 years ago (2013-12-04 02:36:19 UTC) #23
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=198280
7 years ago (2013-12-04 03:03:07 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/keishi@chromium.org/85643002/390001
7 years ago (2013-12-04 03:55:52 UTC) #25
commit-bot: I haz the power
7 years ago (2013-12-04 06:04:16 UTC) #26
Message was sent while issue was closed.
Change committed as 238594

Powered by Google App Engine
This is Rietveld 408576698