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

Issue 2531223003: Expanded Autofill Credit Card Popup Layout Experiment in Android. (Closed)

Created:
4 years ago by csashi
Modified:
4 years ago
CC:
agrieve+watch_chromium.org, android-webview-reviews_chromium.org, browser-components-watch_chromium.org, chromium-reviews, darin-cc_chromium.org, dcheng, estade+watch_chromium.org, gcasto+watchlist_chromium.org, jam, jdonnelly+autofillwatch_chromium.org, Jared Saul, mathp+autofillwatch_chromium.org, rouslan+autofill_chromium.org, sebsg+autofillwatch_chromium.org, vabr+watchlistautofill_chromium.org, vabr+watchlistpasswordmanager_chromium.org, jiahuiguo, Shanfeng, Miguel Garcia
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expanded Autofill Credit Card Popup Layout Experiment in Android. Assets are yet to be added to this change. BUG=664367 Committed: https://crrev.com/9ecb43870649edbe295031612d18d074536c9ada Cr-Commit-Position: refs/heads/master@{#437960}

Patch Set 1 #

Patch Set 2 : Adds clarification for SkColor #

Total comments: 24

Patch Set 3 : Removes references to new card icons. Uses experiment variation to combine suggestion value and lab… #

Patch Set 4 : Uses format string for expiration date label. Consistently returns 0 as default (non-experiment) va… #

Total comments: 18

Patch Set 5 : 1. Renames is_credit_card_field -> is_credit_card_popup. 2. Uses isIconAtStart in suggestion instea… #

Patch Set 6 : Fix merge error in AutofillSuggestion.java #

Total comments: 2

Patch Set 7 : Clarify returned SkColor value is 0 because it maps to SK_ColorTRANSPARENT #

Patch Set 8 : Clarify returned SkColor value is 0 because it maps to SK_ColorTRANSPARENT #

Patch Set 9 : Applies experiment drop down item height to all popups. #

Patch Set 10 : Fix merge #

Total comments: 15

Patch Set 11 : Adds clarifying comments for DropdownAdapter parameters. Moves checking whether icon should be at s… #

Total comments: 4

Patch Set 12 : Uses null to encode default value in DropdownAdapter. #

Patch Set 13 : Fixes compile error. #

Patch Set 14 : Fixes compile error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+424 lines, -82 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwAutofillClient.java View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillKeyboardAccessoryBridge.java View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/autofill/AutofillPopupBridge.java View 1 2 3 4 5 6 7 8 9 10 2 chunks +19 lines, -7 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/autofill/AutofillTest.java View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +19 lines, -11 lines 0 comments Download
M chrome/browser/ui/android/autofill/autofill_popup_view_android.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_controller_impl.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_layout_model.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +26 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_layout_model.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +28 lines, -2 lines 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_layout_model_unittest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M components/autofill/DEPS View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/android/java/src/org/chromium/components/autofill/AutofillPopup.java View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +17 lines, -3 lines 0 comments Download
M components/autofill/android/java/src/org/chromium/components/autofill/AutofillSuggestion.java View 1 2 3 4 5 6 7 8 9 10 4 chunks +24 lines, -11 lines 0 comments Download
M components/autofill/core/browser/autofill_experiments.h View 1 2 3 4 5 6 7 8 3 chunks +38 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_experiments.cc View 1 2 3 4 5 6 7 8 4 chunks +86 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_external_delegate.h View 1 2 3 4 5 6 7 3 chunks +7 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_external_delegate.cc View 1 2 3 4 5 6 7 7 chunks +21 lines, -8 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.h View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 3 4 5 6 7 4 chunks +9 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_popup_delegate.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M components/autofill/core/browser/personal_data_manager.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/core/browser/suggestion.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/suggestion.cc View 3 chunks +8 lines, -4 lines 0 comments Download
M components/autofill_strings.grdp View 1 2 3 4 5 6 7 2 chunks +15 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_autofill_manager.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/password_manager/core/browser/password_autofill_manager.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/input/SelectPopupDropdown.java View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -1 line 0 comments Download
M ui/android/java/res/layout/dropdown_item.xml View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M ui/android/java/src/org/chromium/ui/DropdownAdapter.java View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +43 lines, -13 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/DropdownDividerDrawable.java View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +13 lines, -5 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/DropdownItem.java View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M ui/android/java/src/org/chromium/ui/DropdownItemBase.java View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 70 (26 generated)
csashi
Hi Mathieu, Can you take a look? Thanks. -sashi.
4 years ago (2016-11-29 02:17:43 UTC) #3
csashi
On 2016/11/29 02:17:43, csashi wrote: > Hi Mathieu, > Can you take a look? Thanks. ...
4 years ago (2016-11-30 20:16:00 UTC) #4
Mathieu
I had started the review before your patchset. Here are some comments and I'll start ...
4 years ago (2016-11-30 21:27:36 UTC) #5
csashi
Hi Mathieu, Please take a look. Thanks, -sashi. https://codereview.chromium.org/2531223003/diff/20001/components/autofill/core/browser/autofill_experiments.cc File components/autofill/core/browser/autofill_experiments.cc (right): https://codereview.chromium.org/2531223003/diff/20001/components/autofill/core/browser/autofill_experiments.cc#newcode89 components/autofill/core/browser/autofill_experiments.cc:89: int ...
4 years ago (2016-12-01 01:13:44 UTC) #6
Mathieu
Thanks, this is looking great. Some more comments https://codereview.chromium.org/2531223003/diff/20001/components/autofill/core/browser/autofill_external_delegate.cc File components/autofill/core/browser/autofill_external_delegate.cc (right): https://codereview.chromium.org/2531223003/diff/20001/components/autofill/core/browser/autofill_external_delegate.cc#newcode400 components/autofill/core/browser/autofill_external_delegate.cc:400: if ...
4 years ago (2016-12-01 21:59:47 UTC) #7
csashi
Hi Mathieu, Can you take a look? Thanks, -sashi. https://codereview.chromium.org/2531223003/diff/20001/components/autofill/core/browser/autofill_external_delegate.cc File components/autofill/core/browser/autofill_external_delegate.cc (right): https://codereview.chromium.org/2531223003/diff/20001/components/autofill/core/browser/autofill_external_delegate.cc#newcode400 components/autofill/core/browser/autofill_external_delegate.cc:400: ...
4 years ago (2016-12-02 05:15:29 UTC) #8
Mathieu
lgtm, you will need some more owners on the Android side.
4 years ago (2016-12-02 17:57:34 UTC) #9
csashi
On 2016/12/02 17:57:34, Mathieu Perreault wrote: > lgtm, you will need some more owners on ...
4 years ago (2016-12-02 18:18:15 UTC) #11
aelias_OOO_until_Jul13
content/public/android lgtm
4 years ago (2016-12-02 20:24:59 UTC) #12
michaelbai
android_webview LGTM
4 years ago (2016-12-02 21:28:07 UTC) #13
bsalomon
skia lgtm
4 years ago (2016-12-02 22:21:15 UTC) #14
Ilya Sherman
I'm assuming you wanted me to review chrome/browser/ui/autofill* and components/password_manager/*? In the future, please clarify ...
4 years ago (2016-12-03 00:02:18 UTC) #15
csashi
Hi Ilya, I used the list that "git cl OWNERS" showed me. Next time I ...
4 years ago (2016-12-03 00:40:07 UTC) #16
Ilya Sherman
On 2016/12/03 00:40:07, csashi wrote: > Hi Ilya, > > I used the list that ...
4 years ago (2016-12-03 00:59:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2531223003/120001
4 years ago (2016-12-05 19:23:35 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/347984)
4 years ago (2016-12-05 19:27:31 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2531223003/140001
4 years ago (2016-12-05 19:53:51 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/318724)
4 years ago (2016-12-05 20:07:13 UTC) #27
csashi
On 2016/12/05 20:07:13, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years ago (2016-12-05 20:14:24 UTC) #29
please use gerrit instead
On 2016/12/05 20:14:24, csashi wrote: > On 2016/12/05 20:07:13, commit-bot: I haz the power wrote: ...
4 years ago (2016-12-05 20:37:13 UTC) #30
csashi
On 2016/12/05 20:37:13, rouslan wrote: > On 2016/12/05 20:14:24, csashi wrote: > > On 2016/12/05 ...
4 years ago (2016-12-07 18:25:25 UTC) #32
csashi
On 2016/12/07 18:25:25, csashi wrote: > On 2016/12/05 20:37:13, rouslan wrote: > > On 2016/12/05 ...
4 years ago (2016-12-08 17:03:28 UTC) #34
Theresa
https://codereview.chromium.org/2531223003/diff/180001/content/public/android/java/src/org/chromium/content/browser/input/SelectPopupDropdown.java File content/public/android/java/src/org/chromium/content/browser/input/SelectPopupDropdown.java (right): https://codereview.chromium.org/2531223003/diff/180001/content/public/android/java/src/org/chromium/content/browser/input/SelectPopupDropdown.java#newcode48 content/public/android/java/src/org/chromium/content/browser/input/SelectPopupDropdown.java:48: mContext, items, null /* separators */, 0 /* backgroundColor ...
4 years ago (2016-12-08 18:26:20 UTC) #35
Mathieu
still lgtm with nit https://codereview.chromium.org/2531223003/diff/180001/chrome/browser/ui/android/autofill/autofill_popup_view_android.cc File chrome/browser/ui/android/autofill/autofill_popup_view_android.cc (right): https://codereview.chromium.org/2531223003/diff/180001/chrome/browser/ui/android/autofill/autofill_popup_view_android.cc#newcode105 chrome/browser/ui/android/autofill/autofill_popup_view_android.cc:105: controller_->layout_model().IsIconAtStart(), Can you pass |suggestion_id| ...
4 years ago (2016-12-08 18:35:10 UTC) #36
David Trainor- moved to gerrit
chrome/android/javatests/src/org/chromium/chrome/browser/autofill/ lgtm
4 years ago (2016-12-08 18:40:32 UTC) #37
csashi
Hi Theresa, Please take a look. Thanks. -sashi. https://codereview.chromium.org/2531223003/diff/180001/chrome/browser/ui/android/autofill/autofill_popup_view_android.cc File chrome/browser/ui/android/autofill/autofill_popup_view_android.cc (right): https://codereview.chromium.org/2531223003/diff/180001/chrome/browser/ui/android/autofill/autofill_popup_view_android.cc#newcode105 chrome/browser/ui/android/autofill/autofill_popup_view_android.cc:105: controller_->layout_model().IsIconAtStart(), ...
4 years ago (2016-12-08 20:09:01 UTC) #38
Theresa
https://codereview.chromium.org/2531223003/diff/180001/ui/android/java/src/org/chromium/ui/DropdownAdapter.java File ui/android/java/src/org/chromium/ui/DropdownAdapter.java (right): https://codereview.chromium.org/2531223003/diff/180001/ui/android/java/src/org/chromium/ui/DropdownAdapter.java#newcode92 ui/android/java/src/org/chromium/ui/DropdownAdapter.java:92: } else if (mDividerColor == 0) { On 2016/12/08 ...
4 years ago (2016-12-08 21:38:17 UTC) #39
msw
c/b/ui/android rubber stamp lgtm
4 years ago (2016-12-08 21:40:09 UTC) #40
csashi
Hi Theresa, Please take a look. Thanks. -sashi. https://codereview.chromium.org/2531223003/diff/180001/ui/android/java/src/org/chromium/ui/DropdownAdapter.java File ui/android/java/src/org/chromium/ui/DropdownAdapter.java (right): https://codereview.chromium.org/2531223003/diff/180001/ui/android/java/src/org/chromium/ui/DropdownAdapter.java#newcode92 ui/android/java/src/org/chromium/ui/DropdownAdapter.java:92: } ...
4 years ago (2016-12-08 23:03:30 UTC) #41
Theresa
lgtm
4 years ago (2016-12-09 00:01:34 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2531223003/220001
4 years ago (2016-12-09 00:41:14 UTC) #45
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/177690)
4 years ago (2016-12-09 01:09:44 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2531223003/240001
4 years ago (2016-12-09 01:24:36 UTC) #50
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/195591)
4 years ago (2016-12-09 01:54:17 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2531223003/260001
4 years ago (2016-12-09 02:01:10 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/322228)
4 years ago (2016-12-09 02:29:47 UTC) #57
csashi
On 2016/12/09 02:29:47, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years ago (2016-12-09 02:44:32 UTC) #59
csashi
On 2016/12/09 02:44:32, csashi wrote: > On 2016/12/09 02:29:47, commit-bot: I haz the power wrote: ...
4 years ago (2016-12-12 17:53:33 UTC) #60
vabr (Chromium)
On 2016/12/12 17:53:33, csashi wrote: > On 2016/12/09 02:44:32, csashi wrote: > > On 2016/12/09 ...
4 years ago (2016-12-12 17:58:50 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2531223003/260001
4 years ago (2016-12-12 18:02:59 UTC) #63
vabr (Chromium)
On 2016/12/12 17:58:50, vabr (Chromium) wrote: > On 2016/12/12 17:53:33, csashi wrote: > > On ...
4 years ago (2016-12-12 18:03:11 UTC) #64
commit-bot: I haz the power
Committed patchset #14 (id:260001)
4 years ago (2016-12-12 23:44:55 UTC) #67
commit-bot: I haz the power
Patchset 14 (id:??) landed as https://crrev.com/9ecb43870649edbe295031612d18d074536c9ada Cr-Commit-Position: refs/heads/master@{#437960}
4 years ago (2016-12-12 23:47:41 UTC) #69
csashi
4 years ago (2016-12-13 05:45:19 UTC) #70
Message was sent while issue was closed.
On 2016/12/12 18:03:11, vabr (Chromium) wrote:
> On 2016/12/12 17:58:50, vabr (Chromium) wrote:
> > On 2016/12/12 17:53:33, csashi wrote:
> > > On 2016/12/09 02:44:32, csashi wrote:
> > > > On 2016/12/09 02:29:47, commit-bot: I haz the power wrote:
> > > > > Try jobs failed on following builders:
> > > > >   chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED,
> > > > >
> > > >
> > >
> >
>
http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
> > > > 
> > > > Hi Vaclav,
> > > > Can you please approve for components/password_manager/core/browser/
> > > > Thanks,
> > > > -sashi.
> > > 
> > > Hi Vaclav,
> > > Can you take a look or reassign to someone who can approve? Thanks,
> > > -sashi.
> > 
> > Hi Sashi,
> > 
> > LGTM, sorry for missing your CL previously!
> > 
> > Cheers,
> > Vaclav
> 
> (To explain my delay -- I saw Ilya approving your CL in #17, and started to
> ignore the watchlist updates from this CL coming to my inbox. But in the
> meantime, Ilya removed himself from the password manager OWNERS, making your
CL
> technically lose the approval.)

Hi Vaclav, Thanks for the explanation. Got it. I am also trying to learn how to
find pending approvals.
-sashi.

Powered by Google App Engine
This is Rietveld 408576698