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

Issue 2955963002: Update Chrome Upstream flow to reflect new UI mocks (Closed)

Created:
3 years, 5 months ago by Jared Saul
Modified:
3 years, 4 months ago
CC:
chromium-reviews, groby+bubble_chromium.org, rouslan+autofill_chromium.org, rogerm+autofillwatch_chromium.org, sebsg+autofillwatch_chromium.org, browser-components-watch_chromium.org, mathp+autofillwatch_chromium.org, hcarmona+bubble_chromium.org, tfarina, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, rouslan+bubble_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Update Chrome Upstream flow (Chrome -> Payments upload credit card save for Autofill) to reflect new UI mocks Mocks: https://docs.google.com/presentation/d/135dRphfYbqnbdWqsHf2Kjth1HzMjidKwLq94i-0RCOQ/edit#slide=id.g1e6c4c1b7a_2_49 BUG=736944 Review-Url: https://codereview.chromium.org/2955963002 Cr-Commit-Position: refs/heads/master@{#493080} Committed: https://chromium.googlesource.com/chromium/src/+/19ef81cf629066734a0fd1d1699d43ee307af659

Patch Set 1 : Update comments #

Total comments: 16

Patch Set 2 : Code review changes #

Total comments: 8

Patch Set 3 : Code review changes; change label; fix trybot #

Total comments: 28

Patch Set 4 : Actioning first round of tapted/msw code review comments #

Total comments: 19

Patch Set 5 : Actioning code review comments from Patch Set 4 #

Total comments: 8

Patch Set 6 : Actioning code review comments from Patch Set 5 #

Patch Set 7 : Put changes behind AutofillUpstreamShowNewUi flag #

Total comments: 12

Patch Set 8 : Actioning code review comments from Patch Set 7 #

Patch Set 9 : Add missing imports #

Patch Set 10 : Add non-Android macro for flag enabled check #

Patch Set 11 : Update enums.xml to fix AboutFlagsHistogramTest #

Total comments: 2

Patch Set 12 : Prevent AddNewUiFlagStateToRequestIfExperimentOn test from running on Android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+433 lines, -68 lines) Patch
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/flag_descriptions.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/flag_descriptions.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/autofill/save_card_bubble_controller_impl.h View 1 2 3 4 5 6 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc View 1 2 3 4 5 6 5 chunks +29 lines, -6 lines 0 comments Download
M chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/autofill/save_card_bubble_view_unittest.mm View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/autofill/save_card_bubble_views.h View 1 2 3 1 chunk +24 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/autofill/save_card_bubble_views.cc View 1 2 3 4 5 6 7 10 chunks +150 lines, -44 lines 0 comments Download
M components/autofill/core/browser/autofill_experiments.h View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_experiments.cc View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +81 lines, -0 lines 0 comments Download
M components/autofill/core/browser/ui/mock_save_card_bubble_controller.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/core/browser/ui/save_card_bubble_controller.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M components/autofill_strings.grdp View 1 2 3 4 5 6 2 chunks +26 lines, -3 lines 0 comments Download
M tools/metrics/histograms/enums.xml View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M ui/views/bubble/bubble_frame_view.cc View 1 2 3 4 5 6 6 chunks +26 lines, -4 lines 0 comments Download
M ui/views/bubble/bubble_frame_view_unittest.cc View 1 2 3 4 5 3 chunks +38 lines, -0 lines 0 comments Download

Messages

Total messages: 60 (29 generated)
Jared Saul
Hey guys, PTAL. This code represents the first 3 out of 4 slides in this ...
3 years, 5 months ago (2017-06-27 00:24:45 UTC) #3
jiahuiguo
https://codereview.chromium.org/2955963002/diff/20001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc File chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc (right): https://codereview.chromium.org/2955963002/diff/20001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc#newcode145 chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc:145: IDS_AUTOFILL_SAVE_CARD_PROMPT_TITLE_TO_CLOUD); Could do return l10n_util::GetStringFUTF16( show_upload_confirm_title_ ? msg1 ; ...
3 years, 5 months ago (2017-06-27 01:21:10 UTC) #4
Jared Saul
https://codereview.chromium.org/2955963002/diff/20001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc File chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc (right): https://codereview.chromium.org/2955963002/diff/20001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc#newcode145 chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc:145: IDS_AUTOFILL_SAVE_CARD_PROMPT_TITLE_TO_CLOUD); On 2017/06/27 01:21:10, jiahuiguo wrote: > Could do ...
3 years, 5 months ago (2017-06-27 01:31:47 UTC) #5
Shanfeng
Could you put the new UI mocks in the description. https://codereview.chromium.org/2955963002/diff/20001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.h File chrome/browser/ui/autofill/save_card_bubble_controller_impl.h (right): https://codereview.chromium.org/2955963002/diff/20001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.h#newcode69 ...
3 years, 5 months ago (2017-06-27 04:00:31 UTC) #6
Jared Saul
Thanks guys! https://codereview.chromium.org/2955963002/diff/20001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.h File chrome/browser/ui/autofill/save_card_bubble_controller_impl.h (right): https://codereview.chromium.org/2955963002/diff/20001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.h#newcode69 chrome/browser/ui/autofill/save_card_bubble_controller_impl.h:69: void setShowUploadConfirmTitle(bool show_upload_confirm_title) override; On 2017/06/27 04:00:31, ...
3 years, 5 months ago (2017-06-27 16:38:02 UTC) #8
Mathieu
Looks mostly good, just some comments! https://codereview.chromium.org/2955963002/diff/40001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc File chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc (right): https://codereview.chromium.org/2955963002/diff/40001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc#newcode138 chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc:138: if (is_uploading_) { ...
3 years, 5 months ago (2017-06-27 21:12:06 UTC) #13
Shanfeng
lgtm
3 years, 5 months ago (2017-06-27 21:20:40 UTC) #14
jiahuiguo
lgtm
3 years, 5 months ago (2017-06-27 21:29:11 UTC) #15
Jared Saul
https://codereview.chromium.org/2955963002/diff/40001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc File chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc (right): https://codereview.chromium.org/2955963002/diff/40001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc#newcode138 chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc:138: if (is_uploading_) { On 2017/06/27 21:12:06, Mathieu wrote: > ...
3 years, 5 months ago (2017-06-27 21:45:55 UTC) #16
Jared Saul
Hi msw@ and tapted@, PTAL. msw@: Could you please review save_card_bubble_views.h/.cc since estade@ is OOO ...
3 years, 5 months ago (2017-06-27 21:50:43 UTC) #18
Jared Saul
https://codereview.chromium.org/2955963002/diff/60001/ui/views/bubble/bubble_frame_view.cc File ui/views/bubble/bubble_frame_view.cc (right): https://codereview.chromium.org/2955963002/diff/60001/ui/views/bubble/bubble_frame_view.cc#newcode548 ui/views/bubble/bubble_frame_view.cc:548: footnote_container_->child_at(0)->visible()); Note for msw@/tapted@: This changing of the footnote_container_'s ...
3 years, 5 months ago (2017-06-27 21:52:27 UTC) #19
tapted
perhaps mention something about autofill in the CL description? ("Upstream" has other loaded meanings for ...
3 years, 5 months ago (2017-06-27 23:36:15 UTC) #24
msw
https://codereview.chromium.org/2955963002/diff/60001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc File chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc (right): https://codereview.chromium.org/2955963002/diff/60001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc#newcode139 chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc:139: return show_upload_confirm_title_ Can this instead calls something like save_card_bubble_view_->GetWindowTitle() ...
3 years, 5 months ago (2017-06-29 20:10:25 UTC) #25
Jared Saul
Thanks for the reviews! PTAL. msw@: Left a question for you in save_card_bubble_controller_impl.cc tapted@: Resolved ...
3 years, 5 months ago (2017-07-05 19:36:51 UTC) #27
msw
mostly lg with minor comments. https://codereview.chromium.org/2955963002/diff/60001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc File chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc (right): https://codereview.chromium.org/2955963002/diff/60001/chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc#newcode139 chrome/browser/ui/autofill/save_card_bubble_controller_impl.cc:139: return show_upload_confirm_title_ On 2017/07/05 ...
3 years, 5 months ago (2017-07-05 20:45:31 UTC) #28
tapted
looks good - thanks for adding the test! A few comments. (and I'm in a ...
3 years, 5 months ago (2017-07-06 01:11:59 UTC) #29
Jared Saul
Thanks again for the detailed comments/instructions! tapted@: PTAL, the new test code is off by ...
3 years, 5 months ago (2017-07-07 20:12:28 UTC) #30
tapted
lgtm % nits, but please wait for msw@ https://codereview.chromium.org/2955963002/diff/80001/ui/views/bubble/bubble_frame_view_unittest.cc File ui/views/bubble/bubble_frame_view_unittest.cc (right): https://codereview.chromium.org/2955963002/diff/80001/ui/views/bubble/bubble_frame_view_unittest.cc#newcode491 ui/views/bubble/bubble_frame_view_unittest.cc:491: } ...
3 years, 5 months ago (2017-07-10 03:52:05 UTC) #31
msw
lgtm with a nit, and Trent's comments addressed. https://codereview.chromium.org/2955963002/diff/100001/ui/views/bubble/bubble_frame_view_unittest.cc File ui/views/bubble/bubble_frame_view_unittest.cc (right): https://codereview.chromium.org/2955963002/diff/100001/ui/views/bubble/bubble_frame_view_unittest.cc#newcode493 ui/views/bubble/bubble_frame_view_unittest.cc:493: { ...
3 years, 5 months ago (2017-07-10 19:02:24 UTC) #32
Jared Saul
Thanks for the reviews! FYI: Turns out I won't be able to submit this just ...
3 years, 5 months ago (2017-07-10 19:24:40 UTC) #33
Mathieu
lgtm
3 years, 5 months ago (2017-07-11 15:48:08 UTC) #34
Mathieu
reviewed the feature controls, still lgtm with nits https://codereview.chromium.org/2955963002/diff/140001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2955963002/diff/140001/chrome/browser/about_flags.cc#newcode2881 chrome/browser/about_flags.cc:2881: flag_descriptions::kEnableAutofillCreditCardUploadNewUiDescription, ...
3 years, 4 months ago (2017-08-09 00:17:23 UTC) #39
Jared Saul
Thanks Mathieu! https://codereview.chromium.org/2955963002/diff/140001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2955963002/diff/140001/chrome/browser/about_flags.cc#newcode2881 chrome/browser/about_flags.cc:2881: flag_descriptions::kEnableAutofillCreditCardUploadNewUiDescription, kOsAll, On 2017/08/09 00:17:23, Mathieu wrote: ...
3 years, 4 months ago (2017-08-09 00:24:19 UTC) #40
jiahuiguo
https://codereview.chromium.org/2955963002/diff/140001/chrome/browser/flag_descriptions.cc File chrome/browser/flag_descriptions.cc (right): https://codereview.chromium.org/2955963002/diff/140001/chrome/browser/flag_descriptions.cc#newcode259 chrome/browser/flag_descriptions.cc:259: "Enable updated UI for Autofill credit card upload"; Add ...
3 years, 4 months ago (2017-08-09 00:33:37 UTC) #41
Jared Saul
https://codereview.chromium.org/2955963002/diff/140001/chrome/browser/flag_descriptions.cc File chrome/browser/flag_descriptions.cc (right): https://codereview.chromium.org/2955963002/diff/140001/chrome/browser/flag_descriptions.cc#newcode259 chrome/browser/flag_descriptions.cc:259: "Enable updated UI for Autofill credit card upload"; On ...
3 years, 4 months ago (2017-08-09 00:45:24 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/2955963002/220001
3 years, 4 months ago (2017-08-09 16:21:06 UTC) #49
Shanfeng
lgtm https://codereview.chromium.org/2955963002/diff/220001/components/autofill_strings.grdp File components/autofill_strings.grdp (right): https://codereview.chromium.org/2955963002/diff/220001/components/autofill_strings.grdp#newcode228 components/autofill_strings.grdp:228: <if expr="is_linux and not is_chromeos"> if is_linux is ...
3 years, 4 months ago (2017-08-09 17:06:34 UTC) #50
Shanfeng
lgtm
3 years, 4 months ago (2017-08-09 17:06:38 UTC) #51
Jared Saul
https://codereview.chromium.org/2955963002/diff/220001/components/autofill_strings.grdp File components/autofill_strings.grdp (right): https://codereview.chromium.org/2955963002/diff/220001/components/autofill_strings.grdp#newcode228 components/autofill_strings.grdp:228: <if expr="is_linux and not is_chromeos"> On 2017/08/09 17:06:34, Shanfeng ...
3 years, 4 months ago (2017-08-09 17:14:12 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/2955963002/240001
3 years, 4 months ago (2017-08-09 17:40:53 UTC) #55
commit-bot: I haz the power
3 years, 4 months ago (2017-08-09 18:55:13 UTC) #60
Message was sent while issue was closed.
Committed patchset #12 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/19ef81cf629066734a0fd1d1699d...

Powered by Google App Engine
This is Rietveld 408576698