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

Issue 574673003: Move *Picker.java and *PickerDialog.java to ui/android/java/... - Part1 (Closed)

Created:
6 years, 3 months ago by ankit
Modified:
6 years, 2 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-content_chromium.org, mkosiba (inactive)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Move *Picker.java and *PickerDialog.java to ui/android/java/... There is no reason for the following files to live in content/ layer and they should all be moved to ui/ layer. BUG=302114 Committed: https://crrev.com/a91f4578e0de51430919d2982b906e59dcb227d3 Cr-Commit-Position: refs/heads/master@{#296637}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Moved inputdialogcontainer and dependent files. #

Patch Set 4 : Adding import for test file #

Patch Set 5 : Build break fix. #

Patch Set 6 : Build break fixed #

Total comments: 9

Patch Set 7 : #

Patch Set 8 : Created and moved files to new folder named picker #

Patch Set 9 : Added OWNERS file #

Patch Set 10 : Rebased patch. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+247 lines, -2083 lines) Patch
D content/public/android/java/res/layout/date_time_picker_dialog.xml View 1 1 chunk +0 lines, -33 lines 0 comments Download
D content/public/android/java/res/layout/multi_field_time_picker_dialog.xml View 1 1 chunk +0 lines, -122 lines 0 comments Download
D content/public/android/java/res/layout/two_field_date_picker.xml View 1 1 chunk +0 lines, -48 lines 0 comments Download
M content/public/android/java/resource_map/org/chromium/content/R.java View 1 2 3 chunks +0 lines, -14 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/input/ChromeDatePickerDialog.java View 1 2 1 chunk +0 lines, -42 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/input/DateDialogNormalizer.java View 1 chunk +0 lines, -77 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/DateTimeChooserAndroid.java View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/input/DateTimePickerDialog.java View 1 chunk +0 lines, -147 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestion.java View 1 2 1 chunk +0 lines, -59 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/input/DateTimeSuggestionListAdapter.java View 1 2 1 chunk +0 lines, -54 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/ImeAdapter.java View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -384 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/input/MonthPicker.java View 1 chunk +0 lines, -117 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/input/MonthPickerDialog.java View 1 chunk +0 lines, -38 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/input/MultiFieldTimePickerDialog.java View 1 chunk +0 lines, -275 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/input/TwoFieldDatePicker.java View 1 chunk +0 lines, -250 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/input/TwoFieldDatePickerDialog.java View 1 chunk +0 lines, -113 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/input/WeekPicker.java View 1 chunk +0 lines, -141 lines 0 comments Download
D content/public/android/java/src/org/chromium/content/browser/input/WeekPickerDialog.java View 1 chunk +0 lines, -56 lines 0 comments Download
M content/public/android/java/strings/android_content_strings.grd View 1 2 1 chunk +0 lines, -69 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/input/InputDialogContainerTest.java View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
A + ui/android/java/res/layout/date_time_picker_dialog.xml View 1 2 1 chunk +1 line, -1 line 0 comments Download
A ui/android/java/res/layout/multi_field_time_picker_dialog.xml View 1 2 1 chunk +122 lines, -0 lines 0 comments Download
A + ui/android/java/res/layout/two_field_date_picker.xml View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M ui/android/java/resource_map/org/chromium/ui/R.java View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
A + ui/android/java/src/org/chromium/ui/picker/ChromeDatePickerDialog.java View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
A + ui/android/java/src/org/chromium/ui/picker/DateDialogNormalizer.java View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
A + ui/android/java/src/org/chromium/ui/picker/DateTimePickerDialog.java View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/android/java/src/org/chromium/ui/picker/DateTimeSuggestion.java View 1 2 3 4 5 6 2 chunks +3 lines, -3 lines 0 comments Download
A + ui/android/java/src/org/chromium/ui/picker/DateTimeSuggestionListAdapter.java View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
A + ui/android/java/src/org/chromium/ui/picker/InputDialogContainer.java View 1 2 3 4 5 6 7 8 9 8 chunks +13 lines, -14 lines 0 comments Download
A + ui/android/java/src/org/chromium/ui/picker/MonthPicker.java View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
A + ui/android/java/src/org/chromium/ui/picker/MonthPickerDialog.java View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
A + ui/android/java/src/org/chromium/ui/picker/MultiFieldTimePickerDialog.java View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
A + ui/android/java/src/org/chromium/ui/picker/OWNERS View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
A + ui/android/java/src/org/chromium/ui/picker/TwoFieldDatePicker.java View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
A + ui/android/java/src/org/chromium/ui/picker/TwoFieldDatePickerDialog.java View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
A + ui/android/java/src/org/chromium/ui/picker/WeekPicker.java View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
A + ui/android/java/src/org/chromium/ui/picker/WeekPickerDialog.java View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M ui/android/java/strings/android_ui_strings.grd View 1 2 1 chunk +69 lines, -0 lines 0 comments Download

Messages

Total messages: 43 (11 generated)
ankit
@aurmias, @miguel PTAL
6 years, 3 months ago (2014-09-16 16:42:29 UTC) #2
aurimas (slooooooooow)
https://chromiumcodereview.appspot.com/574673003/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java File content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java (right): https://chromiumcodereview.appspot.com/574673003/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java#newcode42 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java:42: public class InputDialogContainer { What is the reason not ...
6 years, 3 months ago (2014-09-16 16:52:06 UTC) #3
ankit
@aurimas PTAL new patch https://codereview.chromium.org/574673003/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java File content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java (right): https://codereview.chromium.org/574673003/diff/20001/content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java#newcode42 content/public/android/java/src/org/chromium/content/browser/input/InputDialogContainer.java:42: public class InputDialogContainer { On ...
6 years, 3 months ago (2014-09-17 14:57:57 UTC) #4
aurimas (slooooooooow)
We are getting closer. All these classes that you are moving are very closely related, ...
6 years, 3 months ago (2014-09-17 15:58:38 UTC) #5
ankit
@Ted PTAL new patch. I have inlined reason for visibility changes. As per my understanding ...
6 years, 3 months ago (2014-09-18 13:05:20 UTC) #6
ankit
@aurimas PTAL new patch. I have inlined reason for visibility changes. As per my understanding ...
6 years, 3 months ago (2014-09-18 13:07:38 UTC) #7
aurimas (slooooooooow)
On 2014/09/18 13:07:38, ankit wrote: > @aurimas > PTAL new patch. > I have inlined ...
6 years, 3 months ago (2014-09-18 17:01:27 UTC) #8
aurimas (slooooooooow)
lgtm
6 years, 3 months ago (2014-09-18 17:02:25 UTC) #9
aurimas (slooooooooow)
On 2014/09/18 17:02:25, aurimas wrote: > lgtm Please add a ui/android/java/src/org/chromium/ui/picker/OWNERS file and add miguelg@chromium.org ...
6 years, 3 months ago (2014-09-18 17:52:15 UTC) #10
aurimas (slooooooooow)
+tedchoc@chromium.org for owners review.
6 years, 3 months ago (2014-09-18 17:53:01 UTC) #12
Ted C
lgtm
6 years, 3 months ago (2014-09-18 18:05:47 UTC) #13
ankit
On 2014/09/18 18:05:47, Ted C wrote: > lgtm Thanks. I have added OWNERS file.
6 years, 3 months ago (2014-09-19 05:35:31 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/574673003/160001
6 years, 3 months ago (2014-09-19 05:36:01 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/12074)
6 years, 3 months ago (2014-09-19 05:46:11 UTC) #18
ankit
@benm PTAL. Need owner approval for R.java
6 years, 3 months ago (2014-09-19 05:49:33 UTC) #20
ankit
On 2014/09/19 05:49:33, ankit wrote: > @benm > PTAL. > Need owner approval for R.java ...
6 years, 3 months ago (2014-09-22 10:30:07 UTC) #21
benm (inactive)
lgtm lgtm sorry for the delay
6 years, 3 months ago (2014-09-22 15:17:45 UTC) #22
ankit
On 2014/09/22 15:17:45, benm wrote: > lgtm > > lgtm > > sorry for the ...
6 years, 3 months ago (2014-09-23 03:43:55 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/574673003/160001
6 years, 3 months ago (2014-09-23 03:44:57 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/1254)
6 years, 3 months ago (2014-09-23 03:55:31 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/574673003/180001
6 years, 3 months ago (2014-09-23 13:03:13 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/18045)
6 years, 3 months ago (2014-09-23 13:26:21 UTC) #31
ankit
On 2014/09/23 13:26:21, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 3 months ago (2014-09-23 14:55:11 UTC) #32
aurimas (slooooooooow)
We have two build systems that we have to support. It seems like you need ...
6 years, 3 months ago (2014-09-24 17:13:34 UTC) #34
cjhopman
On 2014/09/24 17:13:34, aurimas wrote: > We have two build systems that we have to ...
6 years, 3 months ago (2014-09-24 17:30:56 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/574673003/180001
6 years, 3 months ago (2014-09-25 04:09:27 UTC) #37
commit-bot: I haz the power
Committed patchset #10 (id:180001) as 620e946a2dac1ed735a2bf502f450b7134e9ff0c
6 years, 3 months ago (2014-09-25 04:20:56 UTC) #38
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/a91f4578e0de51430919d2982b906e59dcb227d3 Cr-Commit-Position: refs/heads/master@{#296637}
6 years, 3 months ago (2014-09-25 04:21:38 UTC) #39
benm (inactive)
On 2014/09/25 04:21:38, I haz the power (commit-bot) wrote: > Patchset 10 (id:??) landed as ...
6 years, 2 months ago (2014-09-25 10:01:49 UTC) #40
ankit
On 2014/09/25 10:01:49, benm wrote: > On 2014/09/25 04:21:38, I haz the power (commit-bot) wrote: ...
6 years, 2 months ago (2014-09-25 10:24:32 UTC) #41
ankit
On 2014/09/25 10:24:32, ankit wrote: > On 2014/09/25 10:01:49, benm wrote: > > On 2014/09/25 ...
6 years, 2 months ago (2014-09-25 11:07:41 UTC) #42
benm (inactive)
6 years, 2 months ago (2014-09-25 11:17:11 UTC) #43
Message was sent while issue was closed.
On 2014/09/25 11:07:41, ankit wrote:
> On 2014/09/25 10:24:32, ankit wrote:
> > On 2014/09/25 10:01:49, benm wrote:
> > > On 2014/09/25 04:21:38, I haz the power (commit-bot) wrote:
> > > > Patchset 10 (id:??) landed as
> > > > https://crrev.com/a91f4578e0de51430919d2982b906e59dcb227d3
> > > > Cr-Commit-Position: refs/heads/master@{#296637}
> > > 
> > > Hm, this seems to have broken the downstream webview build.
> > > 
> > > 
> > > 2014-09-25
> > >
> >
>
09:04:03:external/chromium_org/android_webview/../ui/android/java/src/org/chromium/ui/picker/TwoFieldDatePicker.java:107:
> > > error: cannot find symbol
> > > 2014-09-25 09:04:03:        mYearSpinner = (NumberPicker)
> > > findViewById(R.id.year);
> > > 2014-09-25 09:04:03:                                                      
^
> > > 2014-09-25 09:04:03:  symbol:   variable year
> > > 2014-09-25 09:04:03:  location: class id
> > > 
> > > and several more similar errors; the id resources didn't get moved from
> > > content/R.java into ui/R.java
> > > 
> > > I'm not sure why the AOSP bot didn't catch this error.
> > 
> > @benm
> > Please let me know how can I see all the error so that I can fix these.
> 
> @benm
> I tried to trigger |android_aosp| build with latest code. But build was
> successful.
> If I have missed out moving of some resources id. Please let me know the list
of
> resources id
> so that I can move those.

Thanks ankit, mkosiba@ is looking at it from our side. We think the right fix
may be just to remove these R.java files altogether.

Powered by Google App Engine
This is Rietveld 408576698